From e382b52ad8d1be55ccd5cefdee6843d387e3d065 Mon Sep 17 00:00:00 2001 From: Neil Twigg Date: Fri, 8 Sep 2023 16:36:28 +0100 Subject: [PATCH] Allow more time in `TestNoRaceSeqSetEncodeLarge` In CI this is typically < 700uS, but quite often > 500uS. Signed-off-by: Neil Twigg --- server/avl/norace_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/avl/norace_test.go b/server/avl/norace_test.go index 0e726b96..6ea26c04 100644 --- a/server/avl/norace_test.go +++ b/server/avl/norace_test.go @@ -96,7 +96,7 @@ func TestNoRaceSeqSetEncodeLarge(t *testing.T) { defer debug.SetGCPercent(gcp) // In general should be about the same, but can see some variability. - expected := 500 * time.Microsecond + expected := time.Millisecond start := time.Now() b, err := ss.Encode(nil)