Add a little more debug info to the integration test suite output

This commit is contained in:
Jean-Paul Calderone 2023-03-27 13:35:14 -04:00
parent fbcef2d1ae
commit 1c11f9e7d4
3 changed files with 5 additions and 2 deletions

View File

@ -321,7 +321,9 @@ def tor_introducer(reactor, temp_dir, flog_gatherer, request):
pass
request.addfinalizer(cleanup)
print("Waiting for introducer to be ready...")
pytest_twisted.blockon(protocol.magic_seen)
print("Introducer ready.")
return transport
@ -332,6 +334,7 @@ def tor_introducer_furl(tor_introducer, temp_dir):
print("Don't see {} yet".format(furl_fname))
sleep(.1)
furl = open(furl_fname, 'r').read()
print(f"Found Tor introducer furl: {furl}")
return furl

View File

@ -93,7 +93,7 @@ def _create_anonymous_node(reactor, name, control_port, request, temp_dir, flog_
web_port = "tcp:{}:interface=localhost".format(control_port + 2000)
if True:
print("creating", node_dir.path)
print(f"creating {node_dir.path} with introducer {introducer_furl}")
node_dir.makedirs()
proto = util._DumpOutputProtocol(None)
reactor.spawnProcess(

View File

@ -607,7 +607,7 @@ def await_client_ready(tahoe, timeout=10, liveness=60*2, minimum_number_of_serve
continue
if len(js['servers']) < minimum_number_of_servers:
print("waiting because insufficient servers")
print(f"waiting because {js['servers']} is fewer than required ({minimum_number_of_servers})")
time.sleep(1)
continue
server_times = [