Increase timeout, just to be on the safe side.

This commit is contained in:
Itamar Turner-Trauring 2021-01-26 12:40:39 -05:00
parent 6c04ea7497
commit d25a0f1ce2

View File

@ -30,7 +30,7 @@ from allmydata import client
import pytest_twisted
def block_with_timeout(deferred, reactor, timeout=10):
def block_with_timeout(deferred, reactor, timeout=120):
"""Block until Deferred has result, but timeout instead of waiting forever."""
deferred.addTimeout(timeout, reactor)
return pytest_twisted.blockon(deferred)