-
-
Notifications
You must be signed in to change notification settings - Fork 422
Calibration Stage Fix for crashing testcases #3557
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
base: main
Are you sure you want to change the base?
Conversation
| log::info!("Disabling crashing/timeouting testcase {id} during calibration"); | ||
| let insert_result = state | ||
| .current_testcase_mut()? | ||
| .try_add_metadata(DisabledInCalibrationStageMetadata); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this metadata used for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation why the testcase is disabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but this metadata is never used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's used below?
Also it'll be on disk so the end user can see what's up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Handling the Err(err) case implicitly uses the metadata
Description
This fixes a todo and disables flakey testcases that somehow got into the corpus.
Checklist
./scripts/precommit.shand addressed all comments