mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
allow two attempts on CI
This commit is contained in:
@@ -43,6 +43,7 @@ func RunCLI(testNames []string, slow bool, sandbox bool) {
|
||||
runAndPrintFatalError,
|
||||
mode,
|
||||
keyPressDelay,
|
||||
1,
|
||||
)
|
||||
if err != nil {
|
||||
log.Print(err.Error())
|
||||
|
||||
@@ -48,6 +48,9 @@ func TestIntegration(t *testing.T) {
|
||||
},
|
||||
components.CHECK_SNAPSHOT,
|
||||
0,
|
||||
// allowing two attempts at the test. If a test fails intermittently,
|
||||
// there may be a concurrency issue that we need to resolve.
|
||||
2,
|
||||
)
|
||||
|
||||
assert.NoError(t, err)
|
||||
|
||||
@@ -375,6 +375,7 @@ func runTuiTest(test *components.IntegrationTest, mode components.Mode, keyPress
|
||||
runAndPrintError,
|
||||
mode,
|
||||
keyPressDelay,
|
||||
1,
|
||||
)
|
||||
if err != nil {
|
||||
log.Println(err.Error())
|
||||
|
||||
Reference in New Issue
Block a user