Skip to content

Commit bc5bddf

Browse files
alexgghpkhry
andauthored
fix fuzzer (#374)
* fix fuzzer Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io> * update snapshots as temporary solution * make the CI runs a bit more stable Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io> --------- Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io> Co-authored-by: Pavlo Khrystenko <p.khrystenko@gmail.com>
1 parent 0db38a1 commit bc5bddf

File tree

3 files changed

+96
-94
lines changed

3 files changed

+96
-94
lines changed

.config/nextest.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ chisel-serial = { max-threads = 1 }
33
polkadot-localnode-serial = { max-threads = 1 }
44

55
[profile.default]
6-
retries = { backoff = "exponential", count = 2, delay = "5s", jitter = true }
7-
slow-timeout = { period = "1m", terminate-after = 3 }
6+
retries = { backoff = "exponential", count = 3, delay = "10s", jitter = true }
7+
slow-timeout = { period = "5m", terminate-after = 4 }
88

99
[[profile.default.overrides]]
1010
filter = "test(/ext_integration|can_test_forge_std/)"

crates/evm/evm/src/executors/fuzz/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,11 @@ impl FuzzedExecutor {
107107
return Err(TestCaseError::fail(TEST_TIMEOUT));
108108
}
109109
self.executor.strategy.runner.checkpoint();
110-
let fuzz_res = self.single_fuzz(address, calldata)?;
110+
let fuzz_res = self.single_fuzz(address, calldata);
111111
self.executor.strategy.runner.reload_checkpoint();
112112

113+
let fuzz_res = fuzz_res?;
114+
113115
// If running with progress then increment current run.
114116
if let Some(progress) = progress {
115117
progress.inc(1);

0 commit comments

Comments
 (0)