projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc3d9f2
)
fix test_introducer to wait for the right things in order to avoid intermittent test...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Tue, 11 Dec 2007 21:08:15 +0000
(14:08 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Tue, 11 Dec 2007 21:08:15 +0000
(14:08 -0700)
src/allmydata/test/test_introducer.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_introducer.py
b/src/allmydata/test/test_introducer.py
index 7a8e6f099ec0cf94acf79577aa2e4a6b5bcfd2e9..0c521222edadbb82fad0cfc86a0b3eb11c3aba58 100644
(file)
--- a/
src/allmydata/test/test_introducer.py
+++ b/
src/allmydata/test/test_introducer.py
@@
-141,10
+141,7
@@
class TestIntroducer(unittest.TestCase, testutil.PollMixin):
log.msg(" waiting until peer notices the disconnection")
return origin_c.when_fewer_than_peers(NUMCLIENTS)
d.addCallback(_wait_til_he_notices)
- def _wait_for_reconnection(res):
- log.msg(" doing _wait_for_reconnection()")
- return origin_c.when_enough_peers(NUMCLIENTS)
- d.addCallback(_wait_for_reconnection)
+ d.addCallback(_wait_for_all_connections)
def _check2(res):
log.msg("doing _check2")
for c in clients: