Skip to content

Commit

Permalink
test: Fix intermittent issue in interface_rest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Feb 22, 2024
1 parent 88b1229 commit faeed91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/functional/interface_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ def run_test(self):
assert_greater_than(json_obj['bytes'], 300)

mempool_info = self.nodes[0].getmempoolinfo()
# pop unstable unbroadcastcount before check
for obj in [json_obj, mempool_info]:
obj.pop("unbroadcastcount")
assert_equal(json_obj, mempool_info)

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

0 comments on commit faeed91

Please sign in to comment.