From 3228bb0376ff676916dca6e4968c0f85b9f795bd Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 6 Apr 2023 00:52:44 -0700 Subject: [PATCH] lib/encoding: fix test after 8af66ba15640e537820083b8453cecffb3b0ba3e --- lib/encoding/encoding_cgo_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/encoding/encoding_cgo_test.go b/lib/encoding/encoding_cgo_test.go index e7e8da1a3..ba4675550 100644 --- a/lib/encoding/encoding_cgo_test.go +++ b/lib/encoding/encoding_cgo_test.go @@ -19,7 +19,7 @@ func TestMarshalUnmarshalInt64Array(t *testing.T) { v += int64(rand.NormFloat64() * 1e6) va = append(va, v) } - for precisionBits := uint8(1); precisionBits < 23; precisionBits++ { + for precisionBits := uint8(1); precisionBits < 22; precisionBits++ { testMarshalUnmarshalInt64Array(t, va, precisionBits, MarshalTypeZSTDNearestDelta) } for precisionBits := uint8(23); precisionBits < 65; precisionBits++ { @@ -33,7 +33,7 @@ func TestMarshalUnmarshalInt64Array(t *testing.T) { v += 30e6 + int64(rand.NormFloat64()*1e6) va = append(va, v) } - for precisionBits := uint8(1); precisionBits < 24; precisionBits++ { + for precisionBits := uint8(1); precisionBits < 23; precisionBits++ { testMarshalUnmarshalInt64Array(t, va, precisionBits, MarshalTypeZSTDNearestDelta2) } for precisionBits := uint8(24); precisionBits < 65; precisionBits++ {