Skip to content

Commit 05a163c

Browse files
Use looser task event timestamp comparer (#206)
The tests are a little slower on Windows, so let's make this check more tolerant
1 parent 5ad688e commit 05a163c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/testing/fakerunnerapi/fakerunnerapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type TaskEvent struct {
4040
}
4141

4242
var CmpTaskEvent = gocmp.Options{
43-
cmpopts.EquateApproxTime(time.Second * 20),
43+
cmpopts.EquateApproxTime(1 * time.Minute),
4444
cmpopts.AcyclicTransformer("TimestampMilli", func(msec int64) time.Time {
4545
return time.UnixMilli(msec)
4646
}),

0 commit comments

Comments
 (0)