-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore fuzz tests in gas snapshot #10580
Conversation
I see that you haven't updated any CHANGELOG files. Would it make sense to do so? |
I see that you haven't updated any README files. Would it make sense to do so? |
Running downstream job at https://github.com/smartcontractkit/operator-ui/actions/runs/6149093018 |
Running downstream job at https://github.com/smartcontractkit/operator-ui/actions/runs/6149746200 |
Running downstream job at https://github.com/smartcontractkit/operator-ui/actions/runs/6150395187 |
SonarQube Quality Gate |
make snapshot
should skip fuzz tests named according to best practices:testFuzz_\w{1,}?
Although forge uses a static fuzz seed by default, flaky gas results per platform are still observed:
foundry-rs/foundry#5689
Until they fix the issue, including fuzz tests in snapshot results will result in flaky CI.
At this moment, this repo doesn't have fuzz tests. Tested the regex pattern in other repo, and in this repo by adding a
test_MockTest()
to verify it is included in snapshot, andtestFuzz_MockTest()
to verify it is not included in snapshot.