Skip to content

Commit 42b793c

Browse files
committed
fix(tests): Suppress checking files not present in older ocp versions
Signed-off-by: Oliver Gondža <[email protected]>
1 parent b99dae3 commit 42b793c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/openshift/e2e/ginkgo/parallel/1-120_validate_running_must_gather.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,15 @@ var _ = Describe("GitOps Operator Parallel E2E Tests", func() {
8585
destDir := gather()
8686
defer os.RemoveAll(destDir)
8787

88-
Expect(path.Join(destDir, "must-gather.logs")).To(BeARegularFile())
88+
// TODO: Not before 4.16: https://github.com/openshift/oc/commit/7d23cbb68dfed274b2821d91038f45c8ce12a249
89+
// Expect(path.Join(destDir, "must-gather.logs")).To(BeARegularFile())
90+
8991
Expect(path.Join(destDir, "event-filter.html")).To(BeARegularFile())
9092
Expect(path.Join(destDir, "timestamp")).To(BeARegularFile())
9193

9294
resources := resourcesDir(destDir)
93-
Expect(path.Join(resources, "gather.logs")).To(BeARegularFile())
95+
// TODO: Not before 4.16: https://github.com/openshift/oc/commit/6348e4a0484fce9b4151dbf39ca17bdd8a450053
96+
// Expect(path.Join(resources, "gather.logs")).To(BeARegularFile())
9497
csr := path.Join(resources, "cluster-scoped-resources")
9598
Expect(csr).To(BeADirectory())
9699
Expect(path.Join(csr, "apiextensions.k8s.io/customresourcedefinitions/applications.argoproj.io.yaml")).To(BeValidResourceFile())

0 commit comments

Comments
 (0)