Skip to content

Commit 539fcf9

Browse files
authored
chore(coderd/util/tz): skip flaky test (#8652)
1 parent 001670c commit 539fcf9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

coderd/util/tz/tz_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ func Test_TimezoneIANA(t *testing.T) {
3131
// Not all Linux operating systems are guaranteed to have localtime!
3232
t.Skip("localtime doesn't exist!")
3333
}
34+
if runtime.GOOS == "windows" {
35+
// This test can be flaky on some Windows runners :(
36+
t.Skip("This test is flaky under Windows.")
37+
}
3438
oldEnv, found := os.LookupEnv("TZ")
3539
if found {
3640
require.NoError(t, os.Unsetenv("TZ"))

0 commit comments

Comments
 (0)