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

kola: refactor and add support for warn: true tests #151

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

dustymabe
Copy link
Member

This commit refactors the arguments and error handling for kola into a runKola closure to make it easier to manage. Most calls in this file use mostly the same arguments, so this is a nice cleanup.

This commit also adds the --on-warn-failure-exit-77 option [1] and adds handling to mark a test as warn() if that happens versus the typical error().

[1] coreos/coreos-assembler#3551

This commit refactors the arguments and error handling for `kola`
into a runKola closure to make it easier to manage. Most calls in
this file use mostly the same arguments, so this is a nice cleanup.

This commit also adds the `--on-warn-failure-exit-77` option [1]
and adds handling to mark a test as `warn()` if that happens versus
the typical `error()`.

[1] coreos/coreos-assembler#3551
@nikita-dubrovskii
Copy link

LGTM

@dustymabe dustymabe merged commit 541fc66 into coreos:main Aug 23, 2023
@dustymabe dustymabe deleted the dusty-kola-warn branch August 23, 2023 14:08
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