diff --git a/runtime/test/src/test/abi.rs b/runtime/test/src/test/abi.rs index 3f0750834e6..116e9997142 100644 --- a/runtime/test/src/test/abi.rs +++ b/runtime/test/src/test/abi.rs @@ -5,29 +5,29 @@ use graph::runtime::wasm::asc_abi::class::{ use super::*; -async fn test_unbounded_loop(api_version: Version) { - // Set handler timeout to 3 seconds. - let mut instance = test_valid_module_and_store_with_timeout( - "unboundedLoop", - mock_data_source( - &wasm_file_path("non_terminating.wasm", api_version.clone()), - api_version.clone(), - ), - api_version, - Some(Duration::from_secs(3)), - ) - .await - .0; - let res: Result<(), _> = instance - .get_func("loop") - .typed(&mut instance.store.as_context_mut()) - .unwrap() - .call(&mut instance.store.as_context_mut(), ()); - assert_eq!( - res.unwrap_err().to_string().lines().next().unwrap(), - "wasm trap: interrupt" - ); -} +// async fn test_unbounded_loop(api_version: Version) { +// // Set handler timeout to 3 seconds. +// let mut instance = test_valid_module_and_store_with_timeout( +// "unboundedLoop", +// mock_data_source( +// &wasm_file_path("non_terminating.wasm", api_version.clone()), +// api_version.clone(), +// ), +// api_version, +// Some(Duration::from_secs(3)), +// ) +// .await +// .0; +// let res: Result<(), _> = instance +// .get_func("loop") +// .typed(&mut instance.store.as_context_mut()) +// .unwrap() +// .call(&mut instance.store.as_context_mut(), ()); +// assert_eq!( +// res.unwrap_err().to_string().lines().next().unwrap(), +// "wasm trap: interrupt" +// ); +// } // #[tokio::test(flavor = "multi_thread")] // async fn unbounded_loop_v0_0_4() {