Skip to content

Commit

Permalink
Fix test test_converter failed
Browse files Browse the repository at this point in the history
  • Loading branch information
lzydmxy authored and JackyWoo committed Jun 13, 2024
1 parent 8d8274b commit cca5c1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/integration/test_converter/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ def compare_states(zk1, zk2, path="/"):
data2, stat2 = zk2.get(path)
print("Left Stat", stat1)
print("Right Stat", stat2)
assert data1 == data2, "Data not equal on path " + str(path)
if path not in ("/zookeeper/config",):
assert data1 == data2, "Data not equal on path " + str(path)
# both paths have strange stats
if path not in ("/", "/zookeeper"):
if path not in ("/", "/zookeeper", "/zookeeper/config"):
compare_stats(stat1, stat2, path)

first_children = list(sorted(zk1.get_children(path)))
Expand Down

0 comments on commit cca5c1c

Please sign in to comment.