Skip to content

Commit

Permalink
test: completely disable delay in delaystore test
Browse files Browse the repository at this point in the history
Windows can't sleep for a nanosecond.
  • Loading branch information
Stebalien committed Jul 12, 2021
1 parent cf976ab commit 5781417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion delayed/delayed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ func TestDelayed(t *testing.T) {
func TestDelayedAll(t *testing.T) {
// Delay for virtually no time, we just want to make sure this works correctly, not that it
// delays anything.
dstest.SubtestAll(t, New(datastore.NewMapDatastore(), delay.Fixed(time.Nanosecond)))
dstest.SubtestAll(t, New(datastore.NewMapDatastore(), delay.Fixed(0)))
}

0 comments on commit 5781417

Please sign in to comment.