aboutsummaryrefslogtreecommitdiff
path: root/ci/test_discovery_agent.py
diff options
context:
space:
mode:
Diffstat (limited to 'ci/test_discovery_agent.py')
-rw-r--r--ci/test_discovery_agent.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/test_discovery_agent.py b/ci/test_discovery_agent.py
index 3c1caf45d9..4099fbe030 100644
--- a/ci/test_discovery_agent.py
+++ b/ci/test_discovery_agent.py
@@ -72,7 +72,8 @@ class TestDiscoveryAgent:
env.update({"DISCOVERY_OUTPUT_FILE": test_discovery_output_file.name})
logging.info(f"Calling test discovery with args: {java_args}")
try:
- result = subprocess.run(args=java_args, env=env, text=True, check=True)
+ result = subprocess.run(args=java_args, env=env, text=True, check=True, stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE)
logging.info(f"Test zip discovery output: {result.stdout}")
except subprocess.CalledProcessError as e:
raise TestDiscoveryError(