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.
This commit is contained in:
@@ -315,7 +315,7 @@ pub fn instantiate_with_dummy(store: &mut Store<StoreLimits>, module: &Module) -
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Also allow failures to instantiate as a result of hitting instance limits
|
// 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);
|
log::debug!("failed to instantiate: {}", string);
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user