Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya committed Aug 23, 2024
1 parent 6a682aa commit abf9f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation_workflow/tar/validation_tar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit abf9f69

Please sign in to comment.