Skip to content

Commit 74ae851

Browse files
trdoyle81Triona Doyle
andauthored
Fix tests for CI (#1108)
* Fix tests for CI Signed-off-by: Triona Doyle <bot@example.com> * add skip for 1-050 > 4.20 Signed-off-by: Triona Doyle <bot@example.com> * Update the cleanup Signed-off-by: Triona Doyle <bot@example.com> * Revert 1-050 and fixture changes (to be resolved in separate PR) Signed-off-by: Triona Doyle <bot@example.com> --------- Signed-off-by: Triona Doyle <bot@example.com> Co-authored-by: Triona Doyle <bot@example.com>
1 parent 6a3fc1c commit 74ae851

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/openshift/e2e/ginkgo/sequential/1-108_alternate_cluster_roles_cluster_scoped_instance_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
6464
fixture.OutputDebugOnFail(ns)
6565

6666
if testGitOpsNs != nil {
67-
Expect(k8sClient.Delete(ctx, testGitOpsNs)).To(Succeed())
67+
err := k8sClient.Delete(ctx, testGitOpsNs)
68+
Expect(client.IgnoreNotFound(err)).To(Succeed())
6869
}
6970

7071
if cleanupFunc != nil {

0 commit comments

Comments
 (0)