Skip to content

Commit 54ff200

Browse files
committed
fix cleanup invocation
1 parent e66cc66 commit 54ff200

File tree

1 file changed

+6
-4
lines changed
  • release_tester/arangodb/starter/deployments

1 file changed

+6
-4
lines changed

Diff for: release_tester/arangodb/starter/deployments/runner.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -917,18 +917,19 @@ def clear_data_impl(self):
917917
assert starter.arangosh, "check: this starter doesn't have an arangosh!"
918918
frontend_found = True
919919
arangosh = starter.arangosh
920-
for db_name, one_shard, count_offset in self.makedata_databases():
920+
for db_name, one_shard, count_offset in self.makedata_databases()[::-1]:
921+
print(db_name, one_shard, count_offset)
921922
try:
922-
print(count_offset)
923923
starter.arangosh.clear_test_data(
924924
self.name,
925925
starter.supports_foxx_tests,
926926
args=["--countOffset", str(count_offset)],
927927
database_name=db_name,
928928
one_shard=one_shard,
929929
)
930-
break
931930
except CliExecutionException as exc:
931+
print("cleardata failed!")
932+
print(exc)
932933
if not self.cfg.verbose:
933934
print(exc.execution_result[1])
934935
self.ask_continue_or_exit(
@@ -937,7 +938,8 @@ def clear_data_impl(self):
937938
False,
938939
exc,
939940
)
940-
return
941+
print("Done cleanup")
942+
return
941943
if not frontend_found:
942944
raise Exception("no frontend found.")
943945

0 commit comments

Comments
 (0)