Skip to content

Commit

Permalink
Move uninstall
Browse files Browse the repository at this point in the history
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
  • Loading branch information
zelinh committed Sep 13, 2023
1 parent 85d5664 commit 6927a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test_workflow/test_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def terminate(self) -> None:
if self.service:
self.termination_result = self.service.terminate()
self.__save_test_result_data(self.termination_result)
self.service.uninstall()

for service in self.dependencies:
termination_result = service.terminate()
Expand All @@ -93,7 +94,6 @@ def terminate(self) -> None:
if not self.termination_result:
raise ClusterServiceNotInitializedException()

self.service.uninstall()

def __save_test_result_data(self, termination_result: ServiceTerminationResult) -> None:
test_result_data = TestResultData(
Expand Down

0 comments on commit 6927a10

Please sign in to comment.