Skip to content

Commit

Permalink
Fix test a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-zaitsev committed Feb 28, 2025
1 parent 9308df5 commit a823f3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/e2e/test_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5281,14 +5281,14 @@ def test_055(self):
check={"do_not_delete": 1},
)

# with Then("Startup script should be executed"):
# res = clickhouse.query(chi, "select count() from test_055")
# assert res == "0"

with Then("ClickHouse SHOULD NOT be restarted"):
new_start_time = kubectl.get_clickhouse_start(chi)
assert start_time == new_start_time

with Then("Startup script SHODLD NOT be executed"):
res = clickhouse.query_with_error(chi, "select count() from test_055")
assert res != "0"

with When(f"Add configuration file that SHOULD NOT be ignored by restart rules"):
kubectl.create_and_check(
manifest="manifests/chi/test-055-chopconf-3.yaml",
Expand Down

0 comments on commit a823f3b

Please sign in to comment.