Skip to content

Commit

Permalink
Run conformance for 1.29 and above in default mode (#8576)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavmpandey08 authored Aug 7, 2024
1 parent 9e1f935 commit 3023283
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/executables/sonobuoy.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ func (k *Sonobuoy) Run(ctx context.Context, contextName string, args ...string)
"--context",
contextName,
"run",
"--mode=certified-conformance",
"--wait",
}
executionArgs = append(executionArgs, args...)
Expand Down
5 changes: 5 additions & 0 deletions test/framework/conformance.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ func (e *ClusterE2ETest) RunConformanceTests() {
// 3. https://github.com/cncf/k8s-conformance/pull/3049
if k8s129Compare != -1 {
args = append(args, fmt.Sprintf("--e2e-skip='%s'", skippedTestName))
} else {
// Only mode or --e2e-skip can be used at a time. Because we are using --e2e-skip
// for k8s 1.29 and higher, we need to skip --mode=certified-conformance for those versions.
// Once we stop skipping e2e, we can add the mode back to k8s 1.29 and higher.
args = append(args, "--mode=certified-conformance")
}
e.T.Logf("Running k8s conformance tests with Image: %s", kubeConformanceImageTagged)
output, err := conformance.RunTests(ctx, contextName, args...)
Expand Down

0 comments on commit 3023283

Please sign in to comment.