mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-26 11:30:44 +00:00
Make it optional
This commit is contained in:
parent
72041c0a8c
commit
040bb53851
@ -685,6 +685,10 @@ class SystemTestMixin(pollmixin.PollMixin, testutil.StallMixin):
|
|||||||
REDUCE_HTTP_CLIENT_TIMEOUT : bool = True
|
REDUCE_HTTP_CLIENT_TIMEOUT : bool = True
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
if os.getenv("TAHOE_DEBUG_BLOCKING") == "1":
|
||||||
|
from .blocking import catch_blocking_in_event_loop
|
||||||
|
catch_blocking_in_event_loop(self)
|
||||||
|
|
||||||
self._http_client_pools = []
|
self._http_client_pools = []
|
||||||
http_client.StorageClientFactory.start_test_mode(self._got_new_http_connection_pool)
|
http_client.StorageClientFactory.start_test_mode(self._got_new_http_connection_pool)
|
||||||
self.addCleanup(http_client.StorageClientFactory.stop_test_mode)
|
self.addCleanup(http_client.StorageClientFactory.stop_test_mode)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user