Skip to content

Commit

Permalink
mantle/kola: add --allow-rerun-success to kola run-upgrade
Browse files Browse the repository at this point in the history
We support it for `kola run` so let's support it form `kola run-upgrade`
too.
  • Loading branch information
dustymabe committed May 5, 2023
1 parent e6e1f4c commit d15ab92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mantle/cmd/kola/kola.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func init() {
cmdRunUpgrade.Flags().BoolVar(&findParentImage, "find-parent-image", false, "automatically find parent image if not provided -- note on qemu, this will download the image")
cmdRunUpgrade.Flags().StringVar(&qemuImageDir, "qemu-image-dir", "", "directory in which to cache QEMU images if --fetch-parent-image is enabled")
cmdRunUpgrade.Flags().BoolVar(&runRerunFlag, "rerun", false, "re-run failed tests once")
cmdRunUpgrade.Flags().StringVar(&allowRerunSuccess, "allow-rerun-success", "", "Allow kola test run to be successful when tests with given 'tags=...[,...]' pass during re-run")

root.AddCommand(cmdRerun)

Expand Down

0 comments on commit d15ab92

Please sign in to comment.