mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-26 13:59:59 +00:00
Fix(?) the intermittently failing test.
This commit is contained in:
parent
b0b67826e8
commit
20b021809c
@ -21,7 +21,8 @@ from . import util
|
||||
from twisted.python.filepath import (
|
||||
FilePath,
|
||||
)
|
||||
|
||||
from twisted.internet.task import deferLater
|
||||
from twisted.internet import reactor
|
||||
from allmydata.test.common import (
|
||||
write_introducer,
|
||||
)
|
||||
@ -68,6 +69,9 @@ def test_onion_service_storage(reactor, request, temp_dir, flog_gatherer, tor_ne
|
||||
cap = proto.output.getvalue().strip().split()[-1]
|
||||
print("TEH CAP!", cap)
|
||||
|
||||
# For some reason a wait is needed, or sometimes the get fails...
|
||||
yield deferLater(reactor, 2, lambda: None)
|
||||
|
||||
proto = util._CollectOutputProtocol(capture_stderr=False)
|
||||
reactor.spawnProcess(
|
||||
proto,
|
||||
|
0
newsfragments/3895.minor
Normal file
0
newsfragments/3895.minor
Normal file
Loading…
x
Reference in New Issue
Block a user