Skip to content

Commit 1f25017

Browse files
committed
fix: increase TXE callback timeout from 30s to 60s
The nft_contract TXE tests (transfer_to_private_internal_orchestration, transfer_to_private_failure_not_an_owner) failed with 'Timeout waiting for TypeScript callback for contract instance' due to CI resource contention. The 30s default timeout is occasionally exceeded under heavy parallel execution. Increasing to 60s provides more headroom without affecting test correctness.
1 parent f42a454 commit 1f25017

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

barretenberg/cpp/src/barretenberg/nodejs_module/avm_simulate/ts_callback_utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ std::optional<std::vector<uint8_t>> invoke_ts_callback_with_promise(
8282
const Napi::ThreadSafeFunction& callback,
8383
const std::string& operation_name,
8484
std::function<void(Napi::Env, Napi::Function, std::shared_ptr<CallbackResults>)> call_js_function,
85-
std::chrono::seconds timeout = std::chrono::seconds(30));
85+
std::chrono::seconds timeout = std::chrono::seconds(60));
8686

8787
/**
8888
* @brief Helper for callbacks that take a single string argument and return Buffer | undefined

0 commit comments

Comments
 (0)