From 686d8c22f978102228c3e2809a088d3ae6a35ff4 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Tue, 4 May 2021 11:18:20 -0700 Subject: [PATCH] fix test harness --- crates/test-programs/tests/wasm_tests/runtime/tokio.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/test-programs/tests/wasm_tests/runtime/tokio.rs b/crates/test-programs/tests/wasm_tests/runtime/tokio.rs index 11cf28336c..587ee27f40 100644 --- a/crates/test-programs/tests/wasm_tests/runtime/tokio.rs +++ b/crates/test-programs/tests/wasm_tests/runtime/tokio.rs @@ -119,6 +119,7 @@ pub fn instantiate_inherit_stdio( builder = builder.preopened_dir(preopen_dir, ".")?; } + store.out_of_fuel_async_yield(u32::MAX, 10000); Wasi::set_context(&store, builder.build()?) .map_err(|_| anyhow::anyhow!("wasi set_context failed"))?;