Skip to content

Commit c8c3f89

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

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

coderd/database/querier_test.go

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy