diff --git a/src/test_workflow/benchmark_test/benchmark_test_suite.py b/src/test_workflow/benchmark_test/benchmark_test_suite.py index 07432c2d3e..efce088d4a 100644 --- a/src/test_workflow/benchmark_test/benchmark_test_suite.py +++ b/src/test_workflow/benchmark_test/benchmark_test_suite.py @@ -91,7 +91,7 @@ def execute(self) -> None: def convert(self) -> None: with TemporaryDirectory() as work_dir: subprocess.check_call(f"docker cp docker-container-{self.args.stack_suffix}:opensearch-benchmark/test_executions/. {str(work_dir.path)}", cwd=os.getcwd(), shell=True) - file_path = glob.glob(os.path.join(str(work_dir.path), "test_executions", "*", "test_execution.json")) + file_path = glob.glob(os.path.join(str(work_dir.path), "*", "test_execution.json")) shutil.copy(file_path[0], os.path.join(os.getcwd(), f"test_execution_{self.args.stack_suffix}.json")) with open(file_path[0]) as file: data = json.load(file)