Allow more time in TestNoRaceSeqSetEncodeLarge (#4505)

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

Signed-off-by: Neil Twigg <neil@nats.io>
This commit is contained in:
Waldemar Quevedo
2023-09-09 10:46:36 -07:00
committed by GitHub

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)