diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-05 21:37:54 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 91a107eb6f2b81f6554c7a230258b507f3d1dae6 (patch) | |
tree | 57b243580b9eef781f6052cb490697d940dfd8a2 /pkg/gui/gui_test.go | |
parent | 5ce9e0193a47692d38a2b2aa549630458ccf3038 (diff) |
retry flakey tests
Diffstat (limited to 'pkg/gui/gui_test.go')
-rw-r--r-- | pkg/gui/gui_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/gui_test.go b/pkg/gui/gui_test.go index 6b5cd9167..887b48de8 100644 --- a/pkg/gui/gui_test.go +++ b/pkg/gui/gui_test.go @@ -63,6 +63,8 @@ func Test(t *testing.T) { expectedDir := filepath.Join(testPath, "expected") t.Logf("testPath: %s, actualDir: %s, expectedDir: %s", testPath, actualDir, expectedDir) + // three retries at normal speed for the sake of flakey tests + speeds = append(speeds, 1, 1, 1) for i, speed := range speeds { t.Logf("%s: attempting test at speed %d\n", test.Name, speed) |