From 3e2c784e7794de806280bf1c627ae4884c3ef508 Mon Sep 17 00:00:00 2001 From: meejah Date: Wed, 2 Aug 2023 14:58:04 -0600 Subject: [PATCH] likely to be more-right --- integration/grid.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/integration/grid.py b/integration/grid.py index 94f8c3d7f..00f0dd826 100644 --- a/integration/grid.py +++ b/integration/grid.py @@ -116,13 +116,14 @@ def create_flog_gatherer(reactor, request, temp_dir, flog_binary): flogs = [x for x in listdir(flog_dir) if x.endswith('.flog')] print("Dumping {} flogtool logfiles to '{}'".format(len(flogs), flog_file)) - reactor.spawnProcess( - flog_protocol, - flog_binary, - ( - 'flogtool', 'dump', join(temp_dir, 'flog_gather', flogs[0]) - ), - ) + for flog_path in flogs: + reactor.spawnProcess( + flog_protocol, + flog_binary, + ( + 'flogtool', 'dump', join(temp_dir, 'flog_gather', flog_path) + ), + ) print("Waiting for flogtool to complete") try: pytest_twisted.blockon(flog_protocol.done)