Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Remove failure logging for cleanup and duplicate cleanup method call (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Graham authored Nov 10, 2016
1 parent f51c9d3 commit f81e9f1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def run_test(self):

# finally verify the expected results
result = self._check_results()
self.cleanup_test()
return result

except status.TestFailure as e:
Expand All @@ -87,7 +86,6 @@ def run_test(self):
raise status.TestFailure("Exception thrown during test", e)
finally:
if topology_submitted:
logging.error("Test failed, attempting to clean up")
self.cleanup_test()

def submit_topology(self):
Expand Down Expand Up @@ -286,6 +284,7 @@ def _block_until_stmgr_running(expected_stmgrs):
process_list = _get_processes()
while not _processes_exists(process_list, HERON_STMGR_CMD, expected_stmgrs):
process_list = _get_processes()
time.sleep(1)

def _submit_topology(heron_cli_path, test_cluster, test_jar_path, topology_class_path,
topology_name, input_file, output_file):
Expand Down

0 comments on commit f81e9f1

Please sign in to comment.