Skip to content

Commit

Permalink
kola/tests: add openshift tag to OCP tests
Browse files Browse the repository at this point in the history
This is part of openshift/os#1445.

Those tests are all actually testing OCP components. In the new model,
they should be run against an OCP layered image instead. Add a tag on
them so that we'll be able to run them separately.
  • Loading branch information
jlebon committed Mar 6, 2024
1 parent f0178ab commit fd56e40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mantle/kola/tests/crio/crio.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func init() {
Distros: []string{"rhcos"},
UserData: enableCrioIgn,
// crio pods require fetching a kubernetes pause image
Tags: []string{"crio", kola.NeedsInternetTag},
Tags: []string{"crio", kola.NeedsInternetTag, "openshift"},
})
register.RegisterTest(&register.Test{
Run: crioNetwork,
Expand All @@ -207,7 +207,7 @@ func init() {
Distros: []string{"rhcos"},
UserData: enableCrioIgn,
// this test requires net connections outside the host
Tags: []string{"crio", kola.NeedsInternetTag},
Tags: []string{"crio", kola.NeedsInternetTag, "openshift"},
// qemu machines cannot communicate between each other
ExcludePlatforms: []string{"qemu"},
})
Expand Down
1 change: 1 addition & 0 deletions mantle/kola/tests/misc/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func init() {
Timeout: 40 * time.Minute,
Distros: []string{"rhcos"},
Platforms: []string{"qemu"},
Tags: []string{"openshift"},
})
}

Expand Down

0 comments on commit fd56e40

Please sign in to comment.