We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fa1c26 commit 97e95faCopy full SHA for 97e95fa
tests/integration/test_keeper_memory_soft_limit/test.py
@@ -58,7 +58,7 @@ def test_soft_limit_create(started_cluster):
58
txn.create("/test_soft_limit/node_1000001" + str(i), b"abcde")
59
txn.commit()
60
node.query("system flush logs metric_log")
61
- assert "0\n" == node.query("select sum(ProfileEvent_ZooKeeperHardwareExceptions) from system.metric_log")
+ assert int(node.query("select sum(ProfileEvent_ZooKeeperHardwareExceptions) from system.metric_log").strip()) > 0
62
return
63
64
raise Exception("all records are inserted but no error occurs")
0 commit comments