mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
Allow an error exit status from flogtool dump
If the flog is truncated, parsing it will fail and flogtool will exit with an error. There's no particular reason to allow this to fail a test.
This commit is contained in:
parent
02890fb205
commit
f5b7058efe
@ -124,7 +124,12 @@ def flog_gatherer(reactor, temp_dir, flog_binary, request):
|
||||
'flogtool', 'dump', join(temp_dir, 'flog_gather', flogs[0])
|
||||
),
|
||||
)
|
||||
pytest_twisted.blockon(flog_protocol.done)
|
||||
print("Waiting for flogtool to complete")
|
||||
try:
|
||||
pytest_twisted.blockon(flog_protocol.done)
|
||||
except ProcessTerminated as e:
|
||||
print("flogtool exited unexpectedly: {}".format(str(e)))
|
||||
print("Flogtool completed")
|
||||
|
||||
request.addfinalizer(cleanup)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user