[tor-commits] [stem/master] Integ regression in test_established

atagar at torproject.org atagar at torproject.org
Sun Jun 17 00:31:53 UTC 2018


commit 76c17caabc13b21dde7a5930fe30a59ffea9b2fe
Author: Damian Johnson <atagar at torproject.org>
Date:   Sat Jun 16 17:30:44 2018 -0700

    Integ regression in test_established
    
    Damn me. Focused on the unit tests and completely forgot to check that I didn't
    bork our integ tests. Caught thanks to Jenkins.
    
      ======================================================================
      FAIL: test_established
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/srv/jenkins-workspace/workspace/stem-tor-ci/test/integ/client/connection.py", line 66, in test_established
          self.assertEqual(5, conn.link_protocol)
      AssertionError: 5 != LinkProtocol(version=5, circ_id_size=<stem.client.datatype.Size object at 0x7faa0199c090>, fixed_cell_len=514, first_circ_id=2147483648)
---
 test/integ/client/connection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/integ/client/connection.py b/test/integ/client/connection.py
index 86a9cbcc..94277d4f 100644
--- a/test/integ/client/connection.py
+++ b/test/integ/client/connection.py
@@ -63,4 +63,4 @@ class TestConnection(unittest.TestCase):
     """
 
     conn = Relay.connect('127.0.0.1', test.runner.ORPORT)
-    self.assertEqual(5, conn.link_protocol)
+    self.assertEqual(5, int(conn.link_protocol))



More information about the tor-commits mailing list