mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user