Test fixes

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2021-03-14 06:18:50 -07:00
parent cbbe6dc9c5
commit d4e4c37e94
3 changed files with 4 additions and 5 deletions

View File

@@ -331,7 +331,7 @@ func TestNoRaceLargeClusterMem(t *testing.T) {
checkClusterFormed(t, servers...)
// Calculate in MB what we are using now.
const max = 60 * 1024 * 1024 // 60MB
const max = 64 * 1024 * 1024 // 64MB
runtime.ReadMemStats(&m)
used := m.TotalAlloc - pta
if used > max {