mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-29 17:28:53 +00:00
tests: assign the storage servers to a fixed order which triggers a bug in new downloader every time this test is run (formerly this test would detect the bug in new-downloader only sporadically)
If you are investigating the bug in new-downloader, one way to investigate might be to change this ordering to a different fixed order (e.g. rotate by 4 instead of rotate by 5) and observe how the behavior of new-downloader differs in that case.
This commit is contained in:
parent
687c58d78c
commit
9d421cb022
@ -101,7 +101,8 @@ class HungServerDownloadTest(GridTestMixin, ShouldFailMixin, PollMixin,
|
||||
|
||||
self.c0 = self.g.clients[0]
|
||||
nm = self.c0.nodemaker
|
||||
self.servers = [(id, ss) for (id, ss) in nm.storage_broker.get_all_servers()]
|
||||
self.servers = sorted([(id, ss) for (id, ss) in nm.storage_broker.get_all_servers()])
|
||||
self.servers = self.servers[5:] + self.servers[:5]
|
||||
|
||||
if mutable:
|
||||
d = nm.create_mutable_file(mutable_plaintext)
|
||||
|
Loading…
Reference in New Issue
Block a user