Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#30594 closed defect (duplicate)

stem unit tests fail on Tor 0.2.9, which is still supported until 1 January 2020

Reported by: teor Owned by: atagar
Priority: Medium Milestone:
Component: Archived/Stem Version:
Severity: Normal Keywords: ci, travis, stem
Cc: teor Actual Points: 0
Parent ID: #28170 Points: 0
Reviewer: Sponsor: Sponsor31-can


  client.connection...                                 failed (0.05s)
test_connection_time                                  25 ms  [SUCCESS]
test_established                                             [FAILURE]
test_invalid_arguments                                 1 ms  [SUCCESS]
test_no_common_link_protocol                           9 ms  [SUCCESS]
test_not_orport                                        1 ms  [SUCCESS]
FAIL: test_established
Traceback (most recent call last):
  File "/home/travis/build/teor2345/stem/test/integ/client/", line 66, in test_established
    self.assertEqual(5, int(conn.link_protocol))
AssertionError: 5 != 4
Ran 5 tests in 0.042s
FAILED (failures=1)

Link protocol 4 is supported by 0.2.9, and 5 is supported by and later:

Child Tickets

Change History (3)

comment:1 Changed 12 months ago by atagar

Resolution: duplicate
Status: newclosed

Hi teor, I fixed this a couple weeks ago...

comment:2 Changed 12 months ago by teor

Thanks. Looks like I used an old master for my branch.

The merge to the current master passed this test, but hung later on:

comment:3 Changed 12 months ago by teor

Actual Points: 0
Points: 0
Note: See TracTickets for help on using tickets.