Skip to content

Commit

Permalink
tEST
Browse files Browse the repository at this point in the history
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
  • Loading branch information
zelinh committed Jul 18, 2023
1 parent 39e7ed5 commit 75af02f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test_workflow/integ_test/integ_test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def run(self) -> TestSuiteResults:
if test_config.integ_test:
test_suite = self.__create_test_suite__(component, test_config, work_dir.path)
test_results = test_suite.execute_tests()
for result_data in test_suite.result_data:
logging.info(f"Result_data is {result_data}*********************************")
[self.test_recorder.test_results_logs.save_test_result_data(result_data) for result_data in test_suite.result_data]
all_results.append(component.name, test_results)
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ def custom_node_endpoint_encoder(node_endpoint: NodeEndpoint) -> dict:
self.repo_work_dir = os.path.join(
self.repo.dir, self.test_config.working_directory) if self.test_config.working_directory is not None else self.repo.dir
(status, stdout, stderr) = execute(cmd, self.repo_work_dir, True, False)
logging.info(f"*****************************suite stdout is **********************************{stdout}")
#Here stdout is None
self.test_result_data.append(
TestResultData(
self.component.name,
Expand Down

0 comments on commit 75af02f

Please sign in to comment.