Skip to content

Commit

Permalink
GH-3 Test failed on asan run because it took 55ms to load the WASM. I…
Browse files Browse the repository at this point in the history
…ncrease a bit.
  • Loading branch information
heifner committed Apr 12, 2024
1 parent 508b584 commit 4d70ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittests/api_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ BOOST_AUTO_TEST_CASE(checktime_pause_block_deadline_not_extended_while_loading_t
// WASM load times on my machine was 35ms.
// Since checktime only kicks in after WASM is loaded this needs to be large enough to load the WASM, but should be
// considerably lower than the 150ms max_transaction_time
BOOST_CHECK_MESSAGE( dur < 50'000, "elapsed " << dur << "us" );
BOOST_CHECK_MESSAGE( dur < 65'000, "elapsed " << dur << "us" );
BOOST_REQUIRE_MESSAGE( dur < 150'000, "elapsed " << dur << "us" ); // should never fail

BOOST_REQUIRE_EQUAL( t.validate(), true );
Expand Down

0 comments on commit 4d70ab3

Please sign in to comment.