Skip to content

Commit

Permalink
load-test: print stdout and stderr from validator to catch errors
Browse files Browse the repository at this point in the history
Signed-off-by: Wesley Pettit <[email protected]>
  • Loading branch information
PettitWesley committed Jun 5, 2023
1 parent bd1ac36 commit b2b5c76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion load_tests/load_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,10 @@ def run_ecs_tests():
# Wait until all subprocesses for validation completed
for p in processes:
p["process"].wait()
p["result"], err = p["process"].communicate()
stdout, stderr = p["process"].communicate()
print(f'raw validator stdout: {stdout}')
print(f'raw validator stderr: {stderr}')
p["result"] = stdout
print(f'Test {input_logger["name"]} to {OUTPUT_PLUGIN} complete.')

parsedValidationOutputs = list(map(lambda p: {
Expand Down

0 comments on commit b2b5c76

Please sign in to comment.