From dbef32c7628a6959622b4d583d25dffff1062383 Mon Sep 17 00:00:00 2001 From: Fridrik Asmundsson Date: Mon, 20 Jan 2025 15:58:58 -0500 Subject: [PATCH] lower test iterations to address slow sidecar test --- testing/quick/compare_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/quick/compare_test.go b/testing/quick/compare_test.go index b44f34c5a5..976601ed75 100644 --- a/testing/quick/compare_test.go +++ b/testing/quick/compare_test.go @@ -40,7 +40,6 @@ import ( ) var ( - c = quick.Config{MaxCount: 5_000} hFn = ztree.GetHashFn() spec = zspec.Mainnet ) @@ -92,7 +91,7 @@ func TestExecutionPayloadHashTreeRootZrnt(t *testing.T) { return bytes.Equal(typeRoot[:], containerRoot[:]) && bytes.Equal(typeRoot[:], zRoot[:]) } - if err := quick.Check(f, &c); err != nil { + if err := quick.Check(f, &quick.Config{MaxCount: 5_000}); err != nil { t.Error(err) } } @@ -148,7 +147,8 @@ func TestBlobSidecarTreeRootPrysm(t *testing.T) { return bytes.Equal(prysmRoot[:], beaconRoot[:]) } - if err := quick.Check(f, &c); err != nil { + + if err := quick.Check(f, &quick.Config{MaxCount: 2_500}); err != nil { t.Error(err) } }