Skip to content

Commit 97e95fa

Browse files
committed
test: fix test_keeper_memory_soft_limit
1 parent 9fa1c26 commit 97e95fa

File tree

1 file changed

+1
-1
lines changed
  • tests/integration/test_keeper_memory_soft_limit

1 file changed

+1
-1
lines changed

tests/integration/test_keeper_memory_soft_limit/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def test_soft_limit_create(started_cluster):
5858
txn.create("/test_soft_limit/node_1000001" + str(i), b"abcde")
5959
txn.commit()
6060
node.query("system flush logs metric_log")
61-
assert "0\n" == node.query("select sum(ProfileEvent_ZooKeeperHardwareExceptions) from system.metric_log")
61+
assert int(node.query("select sum(ProfileEvent_ZooKeeperHardwareExceptions) from system.metric_log").strip()) > 0
6262
return
6363

6464
raise Exception("all records are inserted but no error occurs")

0 commit comments

Comments
 (0)