Skip to content

Commit

Permalink
lower test iterations to address slow sidecar test
Browse files Browse the repository at this point in the history
  • Loading branch information
fridrik01 committed Jan 31, 2025
1 parent cd3c709 commit dbef32c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testing/quick/compare_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import (
)

var (
c = quick.Config{MaxCount: 5_000}
hFn = ztree.GetHashFn()
spec = zspec.Mainnet
)
Expand Down Expand Up @@ -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)
}
}
Expand Down Expand Up @@ -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)
}
}

0 comments on commit dbef32c

Please sign in to comment.