From 4f52b50542ff4167837574591e2ebfcbf7908e06 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Mon, 12 Jul 2021 14:19:37 -0700 Subject: [PATCH] test: completely disable delay in delaystore test Windows can't sleep for a nanosecond. --- delayed/delayed_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/delayed/delayed_test.go b/delayed/delayed_test.go index f1ba769..b36bed7 100644 --- a/delayed/delayed_test.go +++ b/delayed/delayed_test.go @@ -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))) }