From 9c0a151dfa10af441b52aeefdac4302d87634440 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Mon, 10 Jul 2023 22:18:22 +1000 Subject: [PATCH] Retry tests on CI Now that we are running each test 6 times on CI, the risk of flakiness is higher. I want to fix these tests for good but it'l take time, so we're just retrying for now --- pkg/integration/clients/go_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/integration/clients/go_test.go b/pkg/integration/clients/go_test.go index c228898db..318c1af9d 100644 --- a/pkg/integration/clients/go_test.go +++ b/pkg/integration/clients/go_test.go @@ -48,8 +48,8 @@ func TestIntegration(t *testing.T) { }, false, 0, - // Only allowing one attempt per test. We'll see if we get any flakiness - 1, + // Allow two attempts at each test to get around flakiness + 2, ) assert.NoError(t, err)