Skip to content

Commit

Permalink
GH-985 3 seconds not long enough on ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Nov 11, 2024
1 parent aabcfb4 commit d19d718
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unittests/eosvmoc_interrupt_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ BOOST_AUTO_TEST_CASE( wasm_interrupt_test ) { try {
auto pre_id = t.control->get_wasm_interface().get_executing_action_id();

// Use an infinite executing action. When oc compile completes it will kill the action and restart it under
// eosvmoc. That action will then fail when it hits the 3000ms deadline.
// 3000ms has to be long enough for oc compile to complete and kill the non-oc executing transaction
// eosvmoc. That action will then fail when it hits the 5000ms deadline.
// 5000ms has to be long enough for oc compile to complete and kill the non-oc executing transaction
BOOST_CHECK_THROW( push_trx( t, test_api_action<WASM_TEST_ACTION("test_checktime", "checktime_failure")>{},
5000, 150, 3000, true, fc::raw::pack(10000000000000000000ULL) ),
0, 150, 5000, true, fc::raw::pack(10000000000000000000ULL) ),
deadline_exception );

auto post_id = t.control->get_wasm_interface().get_executing_action_id();
Expand Down

0 comments on commit d19d718

Please sign in to comment.