[tahoe-lafs-trac-stream] [tahoe-lafs] #2008: test_problem_layout_ticket_1128 in test_upload.py incorrectly sets up the test scenario

tahoe-lafs trac at tahoe-lafs.org
Mon Jun 24 20:42:27 UTC 2013


#2008: test_problem_layout_ticket_1128 in test_upload.py incorrectly sets up the
test scenario
--------------------------------+----------------------------
 Reporter:  markberger          |          Owner:  markberger
     Type:  defect              |         Status:  new
 Priority:  normal              |      Milestone:  undecided
Component:  dev-infrastructure  |        Version:  1.10.0
 Keywords:                      |  Launchpad Bug:
--------------------------------+----------------------------
 Currently shares on server 0 are removed by this:

 {{{
     storedir = self.get_serverdir(0)
     # remove the storedir, wiping out any existing shares
     shutil.rmtree(storedir)
     # create an empty storedir to replace the one we just removed
     os.mkdir(storedir)
 }}}

 However, while this deletes the shares, the remaining space on server 0 is
 set to 0, and therefore it will refuse any new shares even if the
 placement algorithm is correct.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2008>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list