We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1360028 + 413fb10 commit 3a2434dCopy full SHA for 3a2434d
tests/integration/test_keeper_snapshot_on_exit/test.py
@@ -39,6 +39,10 @@ def test_snapshot_on_exit(started_cluster):
39
zk_conn = get_fake_zk(node1)
40
zk_conn.create("/some_path", b"some_data")
41
42
+ zk_conn.stop()
43
+ zk_conn.close()
44
+ zk_conn = None
45
+
46
node1.stop_clickhouse()
47
assert node1.contains_in_log("Created persistent snapshot")
48
@@ -52,7 +56,9 @@ def test_snapshot_on_exit(started_cluster):
52
56
assert node2.contains_in_log("No existing snapshots")
53
57
finally:
54
58
if zk_conn:
55
- if zk_conn.exists("/some_path"):
- zk_conn.delete("/some_path")
59
zk_conn.stop()
60
zk_conn.close()
61
62
+ zk_conn = get_fake_zk(node1)
63
+ if zk_conn.exists("/some_path"):
64
+ zk_conn.delete("/some_path")
0 commit comments