From 371e90376f4054122d877debccf48f0204520fd1 Mon Sep 17 00:00:00 2001 From: Joel Takvorian Date: Wed, 8 Mar 2023 16:38:35 +0100 Subject: [PATCH] codecov no fail CI Codecov fails too often to upload. Make it non mandatory Also increase the timeout for some tests --- .github/workflows/pull_request.yml | 2 +- controllers/flowcollector_controller_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 73bfe6f17..94ddc6355 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -29,7 +29,7 @@ jobs: with: files: ./cover.out flags: unittests - fail_ci_if_error: true + fail_ci_if_error: false bundle-check: runs-on: ubuntu-latest diff --git a/controllers/flowcollector_controller_test.go b/controllers/flowcollector_controller_test.go index c7d2196f2..450088b6d 100644 --- a/controllers/flowcollector_controller_test.go +++ b/controllers/flowcollector_controller_test.go @@ -805,7 +805,7 @@ func UpdateCR(key types.NamespacedName, updater func(*flowslatest.FlowCollector) Eventually(func() error { updater(cr) return k8sClient.Update(ctx, cr) - }).Should(Succeed()) + }, timeout, interval).Should(Succeed()) } func checkDigestUpdate(oldDigest *string, annots map[string]string) error {