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 4f52b50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions delayed/delayed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ 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
// Don't actually delay, 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 4f52b50

Please sign in to comment.