Skip to content

Commit 4f52b50

Browse files
committed
test: completely disable delay in delaystore test
Windows can't sleep for a nanosecond.
1 parent cf976ab commit 4f52b50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

delayed/delayed_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func TestDelayed(t *testing.T) {
2727
}
2828

2929
func TestDelayedAll(t *testing.T) {
30-
// Delay for virtually no time, we just want to make sure this works correctly, not that it
30+
// Don't actually delay, we just want to make sure this works correctly, not that it
3131
// delays anything.
32-
dstest.SubtestAll(t, New(datastore.NewMapDatastore(), delay.Fixed(time.Nanosecond)))
32+
dstest.SubtestAll(t, New(datastore.NewMapDatastore(), delay.Fixed(0)))
3333
}

0 commit comments

Comments
 (0)