Commit 3338221
authored
cmd/evm/testdata/evmrun: fix flaky benchmark duration regex (#35560)
Fixes a flaky benchmark-output test. Here is an example of it failing:
https://github.com/ethereum/go-ethereum/actions/runs/32334412685/job/96322388380?pr=35440
The expected-output regex previously required a fractional component,
causing the test to fail intermittently when the duration was a whole
number. This change makes that component optional, accepting both `73µs`
and `73.001µs`.1 parent 560610a commit 3338221
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
0 commit comments