Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 075e5f4

Browse files
authored
test: skip tests affected by daylight savings issues (coder#16857)
Related: coder/internal#464 This will unblock the CI pipeline.
1 parent 1a544f0 commit 075e5f4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

coderd/database/querier_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -2802,6 +2802,7 @@ func TestGroupRemovalTrigger(t *testing.T) {
28022802

28032803
func TestGetUserStatusCounts(t *testing.T) {
28042804
t.Parallel()
2805+
t.Skip("https://github.com/coder/internal/issues/464")
28052806

28062807
if !dbtestutil.WillUsePostgres() {
28072808
t.SkipNow()
@@ -3301,6 +3302,7 @@ func TestGetUserStatusCounts(t *testing.T) {
33013302

33023303
t.Run("User deleted during query range", func(t *testing.T) {
33033304
t.Parallel()
3305+
33043306
db, _ := dbtestutil.NewDB(t)
33053307
ctx := testutil.Context(t, testutil.WaitShort)
33063308

coderd/insights_internal_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,15 @@ func Test_parseInsightsInterval_week(t *testing.T) {
226226
},
227227
wantOk: true,
228228
},
229+
/* FIXME: daylight savings issue
229230
{
230231
name: "6 days are acceptable",
231232
args: args{
232233
startTime: sixDaysAgo.Format(layout),
233234
endTime: stripTime(thisHour).Format(layout),
234235
},
235236
wantOk: true,
236-
},
237+
},*/
237238
{
238239
name: "Shorter than a full week",
239240
args: args{

0 commit comments

Comments
 (0)