Skip to content

Commit

Permalink
Improve check for concurrency limits in fuzzing
Browse files Browse the repository at this point in the history
Fixes an accidental fuzz regression from bytecodealliance#8590 where error messages were
changed slightly.
  • Loading branch information
alexcrichton committed May 14, 2024
1 parent 4df1db5 commit 345714a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/fuzzing/src/oracles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,7 @@ fn unwrap_instance(
}

// Also allow failures to instantiate as a result of hitting pooling limits.
if string.contains("maximum concurrent core instance limit")
|| string.contains("maximum concurrent memory limit")
|| string.contains("maximum concurrent table limit")
{
if e.is::<wasmtime::PoolConcurrencyLimitError>() {
log::debug!("failed to instantiate: {}", string);
return None;
}
Expand Down

0 comments on commit 345714a

Please sign in to comment.