Allow more time in TestNoRaceSeqSetEncodeLarge

In CI this is typically < 700uS, but quite often > 500uS.

Signed-off-by: Neil Twigg <neil@nats.io>
This commit is contained in:
Neil Twigg
2023-09-08 16:36:28 +01:00
parent 71694904cf
commit e382b52ad8

View File

@@ -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)