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

Remove failure logging for cleanup and duplicate cleanup method call #1548

Merged
merged 1 commit into from
Nov 10, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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