From 78761e6367729b32fa2c18d95ce279ff31dc5f87 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Mon, 11 Nov 2024 19:24:13 -0600 Subject: [PATCH] GH-985 Increase to 10s for ci/cd --- unittests/eosvmoc_interrupt_tests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unittests/eosvmoc_interrupt_tests.cpp b/unittests/eosvmoc_interrupt_tests.cpp index 8e7d0a9205..01b230149e 100644 --- a/unittests/eosvmoc_interrupt_tests.cpp +++ b/unittests/eosvmoc_interrupt_tests.cpp @@ -40,16 +40,16 @@ 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 5000ms deadline. - // 5000ms 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 10000ms deadline. + // 10000ms 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{}, - 0, 150, 5000, true, fc::raw::pack(10000000000000000000ULL) ), + 0, 150, 10000, true, fc::raw::pack(10000000000000000000ULL) ), deadline_exception ); auto post_id = t.control->get_wasm_interface().get_executing_action_id(); // each action uses 1 id, 2 if retried because of oc compile completion interruption - // if post_id == pre_id + 1, then likely that 5000ms above was not long enough for oc compile to complete + // if post_id == pre_id + 1, then likely that 10000ms above was not long enough for oc compile to complete BOOST_TEST(post_id == pre_id + 2); BOOST_REQUIRE_EQUAL( t.validate(), true );