[tor-bugs] #2557 [BridgeDB]: BridgeDB fails with a traceback when turning off a distributor

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Mar 9 07:03:05 UTC 2011


#2557: BridgeDB fails with a traceback when turning off a distributor
-------------------------+--------------------------------------------------
    Reporter:  karsten   |       Owner:  nickm   
        Type:  defect    |      Status:  reopened
    Priority:  normal    |   Milestone:          
   Component:  BridgeDB  |     Version:          
  Resolution:            |    Keywords:          
      Parent:            |      Points:          
Actualpoints:            |  
-------------------------+--------------------------------------------------

Comment(by karsten):

 Replying to [comment:4 kaner]:
 > Thanks for reviewing. Please see commit
 48527eaf4686a2c4f436b3e0e17d6c7fb7c79ba5 for a minor fix. (Merge, close if
 ok)

 The tests now fail for me:

 {{{
 FAIL: testBridgeStorage (bridgedb.Tests.SQLStorageTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "build/lib/bridgedb/Tests.py", line 164, in testBridgeStorage
     self.assertEquals(r, "unallocated")
 AssertionError: u'ring1' != 'unallocated'
 }}}

 And that's what I don't understand.  Your change to the tests in 48527ea
 looks correct to me.  So, maybe there's something wrong in the
 implementation?  Also note that there's another test right after adding a
 bridge to `ring99` that needs to be changed.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2557#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list