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

Allow to skip non-alpha/beta tests #527

Merged
merged 1 commit into from
Oct 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions test/conformance/ingress/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,16 @@ var alphaTests = map[string]func(t *testing.T){
//
// Depending on the options it may test alpha and beta features
func RunConformance(t *testing.T) {
skipTests := skipTests()

for name, test := range stableTests {
if _, ok := skipTests[name]; ok {
t.Run(name, skipFunc)
continue
}
t.Run(name, test)
}

skipTests := skipTests()

// TODO(dprotaso) we'll need something more robust
// in the long term that lets downstream
// implementations to better select which tests
Expand Down