[tahoe-dev] [tahoe-lafs] #68: implement distributed introduction, remove Introducer as a single point of failure

tahoe-lafs trac at tahoe-lafs.org
Sat Aug 7 06:11:46 UTC 2010


#68: implement distributed introduction, remove Introducer as a single point of
failure
------------------------------+---------------------------------------------
     Reporter:  lvo           |       Owner:  writefaruq                                     
         Type:  enhancement   |      Status:  new                                            
     Priority:  major         |   Milestone:  1.8.0                                          
    Component:  code-network  |     Version:  0.2.0                                          
   Resolution:                |    Keywords:  scalability availability introduction gsoc docs
Launchpad Bug:                |  
------------------------------+---------------------------------------------

Comment (by zooko):

 Okay I applied the two patches and I copied
 attachment:test_multi_introducers.4.py into
 src/allmydata/test/test_multi_introducers.py . Then I ran these tests with
 this command:
 {{{
 python setup.py test -s allmydata.test.test_multi_introducers
 }}}
 The output from that command ended with this message:
 {{{
 allmydata.test.test_multi_introducers
   TestClient
     test_introducer_count ...
 [OK]
     test_read_introducer_furl_from_tahoecfg ...
 [OK]
     test_warning ... Warning! introducers config file modified.
                                                    [ERROR]
   TestRoot
     test_introducer_furls ...
 [OK]

 ===============================================================================
 [ERROR]
 Traceback (most recent call last):
   File
 "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/unittest.py",
 line 279, in run
     testMethod()
   File "/Users/zooko/playground/tahoe-lafs/ticket68-multi-
 introducer/src/allmydata/test/test_multi_introducers.py", line 120, in
 test_warning
     self.failUnlessEqual(True, myclient.warn_flag)
 exceptions.AttributeError: Client instance has no attribute 'warn_flag'

 allmydata.test.test_multi_introducers.TestClient.test_warning
 -------------------------------------------------------------------------------
 Ran 4 tests in 0.317s

 FAILED (errors=1, successes=3)
 }}}
 Have you tried this yourself? I would have expected you to get the same
 error.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/68#comment:60>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-dev mailing list