Skip to content

Commit e59d9ce

Browse files
committed
fixup! ensure tz remains the same
1 parent 9a98fbf commit e59d9ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/schedule_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ func TestScheduleOverride(t *testing.T) {
342342
ownerClient, _, _, ws := setupTestSchedule(t, sched)
343343
now := time.Now()
344344
// To avoid the likelihood of time-related flakes, only matching up to the hour.
345-
expectedDeadline := time.Now().Add(10 * time.Hour).Format("2006-01-02T15:")
345+
expectedDeadline := time.Now().In(loc).Add(10 * time.Hour).Format("2006-01-02T15:")
346346

347347
// When: we override the stop schedule
348348
inv, root := clitest.New(t,

0 commit comments

Comments
 (0)