Skip to content

Commit faeed91

Browse files
author
MarcoFalke
committed
test: Fix intermittent issue in interface_rest.py
1 parent 88b1229 commit faeed91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/functional/interface_rest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,9 @@ def run_test(self):
337337
assert_greater_than(json_obj['bytes'], 300)
338338

339339
mempool_info = self.nodes[0].getmempoolinfo()
340+
# pop unstable unbroadcastcount before check
341+
for obj in [json_obj, mempool_info]:
342+
obj.pop("unbroadcastcount")
340343
assert_equal(json_obj, mempool_info)
341344

342345
# Check that there are our submitted transactions in the TX memory pool

0 commit comments

Comments
 (0)