From 4a0cefb1aacb001bbd9dc9c61309c5edbace79dc Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 6 Dec 2022 11:41:32 -0600 Subject: [PATCH] Fix a fuzz failure due to changing errors (#5384) Fix the `instantiate-many` fuzzer from a recent regression introduced in #5347 where an error message changed slightly. Ideally a concrete error type would be tested for here but that's deferred to a future PR. --- crates/fuzzing/src/oracles.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fuzzing/src/oracles.rs b/crates/fuzzing/src/oracles.rs index a0628abf31..37f3892529 100644 --- a/crates/fuzzing/src/oracles.rs +++ b/crates/fuzzing/src/oracles.rs @@ -315,7 +315,7 @@ pub fn instantiate_with_dummy(store: &mut Store, module: &Module) - } // Also allow failures to instantiate as a result of hitting instance limits - if string.contains("concurrent instances has been reached") { + if string.contains("maximum concurrent instance limit") { log::debug!("failed to instantiate: {}", string); return None; }