We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa85eb commit f13ad1cCopy full SHA for f13ad1c
test/functional/rpc_misc.py
@@ -10,6 +10,7 @@
10
assert_raises_rpc_error,
11
assert_equal,
12
assert_greater_than,
13
+ assert_greater_than_or_equal,
14
)
15
16
from test_framework.authproxy import JSONRPCException
@@ -27,7 +28,8 @@ def run_test(self):
27
28
assert_greater_than(memory['used'], 0)
29
assert_greater_than(memory['free'], 0)
30
assert_greater_than(memory['total'], 0)
- assert_greater_than(memory['locked'], 0)
31
+ # assert_greater_than_or_equal() for locked in case locking pages failed at some point
32
+ assert_greater_than_or_equal(memory['locked'], 0)
33
assert_greater_than(memory['chunks_used'], 0)
34
assert_greater_than(memory['chunks_free'], 0)
35
assert_equal(memory['used'] + memory['free'], memory['total'])
0 commit comments