Skip to content

Commit 5781417

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

delayed/delayed_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ func TestDelayed(t *testing.T) {
2929
func TestDelayedAll(t *testing.T) {
3030
// Delay for virtually no time, 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)