Skip to content

Commit a7f0b06

Browse files
authored
chore: fix timezone test case failure on macOS (influxdata#14693)
1 parent 2ea7c6b commit a7f0b06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/internal_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -759,9 +759,9 @@ func TestTimestampAbbrevWarning(t *testing.T) {
759759
log.SetOutput(&buf)
760760
defer log.SetOutput(backup)
761761

762-
ts, err := ParseTimestamp("RFC1123", "Mon, 02 Jan 2006 15:04:05 EST", nil)
762+
ts, err := ParseTimestamp("RFC1123", "Mon, 02 Jan 2006 15:04:05 MST", nil)
763763
require.NoError(t, err)
764-
require.EqualValues(t, 1136232245, ts.Unix())
764+
require.EqualValues(t, 1136239445, ts.Unix())
765765

766766
require.Contains(t, buf.String(), "Your config is using abbreviated timezones and parsing was changed in v1.27.0")
767767
}

0 commit comments

Comments
 (0)