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

[uss_qualifier] Change USS_QUALIFIER_STOP_FAST to execution setting #318

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

BenjaminPelletier
Copy link
Member

Currently, we short-circuit test run execution on the first failed check (by escalating it to Critical severity) according to an environment variable named USS_QUALIFIER_STOP_FAST. This PR moves control of this behavior into the configuration; specifically, under execution.

Since the ExecutionContext already has the execution configuration in order to control execution, this PR makes the context available to the base GenericTestScenario by requiring it as a parameter to begin_test_scenario. With the context (containing the stop_fast setting) available to the base GenericTestScenario, it simply constructs its PendingChecks with that setting.

@BenjaminPelletier BenjaminPelletier marked this pull request as ready for review November 4, 2023 07:07
@BenjaminPelletier BenjaminPelletier merged commit 7840f3d into interuss:main Nov 6, 2023
8 checks passed
@BenjaminPelletier BenjaminPelletier deleted the stop-fast branch November 6, 2023 23:39
github-actions bot added a commit that referenced this pull request Nov 6, 2023
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.

2 participants