From 806dc73d8a79ed639c813fa9e4de97115212181f Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 28 Apr 2020 00:00:38 +0300 Subject: [PATCH] lib/encoding: reduce possibility of failure in TestMarshalInt64ArraySize --- lib/encoding/encoding_cgo_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/encoding/encoding_cgo_test.go b/lib/encoding/encoding_cgo_test.go index 2d31cb7a4..b85c5f9d5 100644 --- a/lib/encoding/encoding_cgo_test.go +++ b/lib/encoding/encoding_cgo_test.go @@ -70,9 +70,9 @@ func TestMarshalInt64ArraySize(t *testing.T) { v += 30e3 + int64(rand.NormFloat64()*1e3) } - testMarshalInt64ArraySize(t, va, 1, 500, 1300) - testMarshalInt64ArraySize(t, va, 2, 500, 1400) - testMarshalInt64ArraySize(t, va, 3, 800, 1800) + testMarshalInt64ArraySize(t, va, 1, 180, 1400) + testMarshalInt64ArraySize(t, va, 2, 250, 1550) + testMarshalInt64ArraySize(t, va, 3, 600, 1800) testMarshalInt64ArraySize(t, va, 4, 1300, 2100) testMarshalInt64ArraySize(t, va, 5, 2000, 3200) testMarshalInt64ArraySize(t, va, 6, 3000, 4800)