Tiny sleeps

This commit is contained in:
alesapin 2020-12-08 17:50:10 +03:00
parent 3d0dbbe411
commit 8b0fe1404a

View File

@ -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