From abf9f694becdb64361555034882aac0a7624859a Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad Date: Fri, 23 Aug 2024 12:28:09 -0700 Subject: [PATCH] fix Signed-off-by: Sayali Gaikawad --- src/validation_workflow/tar/validation_tar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validation_workflow/tar/validation_tar.py b/src/validation_workflow/tar/validation_tar.py index ce7e5420bf..7169a77f0f 100644 --- a/src/validation_workflow/tar/validation_tar.py +++ b/src/validation_workflow/tar/validation_tar.py @@ -46,10 +46,10 @@ def start_cluster(self) -> bool: return True def validation(self) -> bool: - execute('cat '+ os.path.join(self.tmp_dir.path, 'opensearch', 'logs', 'opensearch.log'), '.') if self.check_cluster_readiness(): test_result, counter = ApiTestCases().test_apis(self.args.version, self.args.projects, self.check_for_security_plugin(os.path.join(self.tmp_dir.path, "opensearch")) if self.args.allow_http else True) + execute('cat '+ os.path.join(self.tmp_dir.path, 'opensearch', 'logs', 'opensearch.log'), '.') if (test_result): logging.info(f'All tests Pass : {counter}') return True