1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-04 03:48:07 +02:00

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
This commit is contained in:
Jesse Duffield 2023-07-10 22:18:22 +10:00
parent f9414f275d
commit 9c0a151dfa

View File

@ -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)