Skip to content
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

tests: fix flaky signal handling tests #529

Merged
merged 1 commit into from
Jul 31, 2023
Merged

Conversation

oetr
Copy link
Contributor

@oetr oetr commented Jul 28, 2023

The synchronous tests in signal_handlers check that a certain string is not printed after a fuzz target was "killed" by a SIGINT or SIGSEGV signal. However, in the Github pipeline, the fuzz tests sometimes get killed after a short amount of time. This causes that string to be printed many times (about <300). This PR relaxes the condition and allows that string to be printed 1k times before the test is considered failing.

@oetr oetr force-pushed the FUZZ-762_fix_flaky_tests branch from 25ff0ba to cefb18c Compare July 28, 2023 13:58
@oetr oetr requested a review from a team July 28, 2023 14:58
@oetr oetr marked this pull request as ready for review July 28, 2023 14:58
@oetr oetr merged commit d28840c into main Jul 31, 2023
6 checks passed
@oetr oetr deleted the FUZZ-762_fix_flaky_tests branch July 31, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants