Skip to content

Commit

Permalink
test: assert when wait_until_height skips a block
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPiechota committed Dec 24, 2024
1 parent 2013824 commit 8c810b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/arweave/test/ar_test_node.erl
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,7 @@ wait_until_height(TargetHeight) ->
100,
?WAIT_UNTIL_BLOCK_HEIGHT_TIMEOUT
),
?assertEqual(TargetHeight, ar_node:get_height()),
BI.

assert_wait_until_height(Node, TargetHeight) ->
Expand Down

0 comments on commit 8c810b7

Please sign in to comment.