mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Tiny sleeps
This commit is contained in:
parent
3d0dbbe411
commit
8b0fe1404a
@ -157,6 +157,7 @@ def test_watchers(started_cluster):
|
||||
genuine_zk.set("/test_data_watches", b"a")
|
||||
print("Calling set fake")
|
||||
fake_zk.set("/test_data_watches", b"a")
|
||||
time.sleep(3)
|
||||
|
||||
print("Genuine data", genuine_data_watch_data)
|
||||
print("Fake data", fake_data_watch_data)
|
||||
@ -182,6 +183,8 @@ def test_watchers(started_cluster):
|
||||
print("Calling fake child")
|
||||
fake_zk.create("/test_data_watches/child", b"b")
|
||||
|
||||
time.sleep(3)
|
||||
|
||||
print("Genuine children", genuine_children)
|
||||
print("Fake children", fake_children)
|
||||
assert genuine_children == fake_children
|
||||
|
Loading…
Reference in New Issue
Block a user