Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions cl/phase1/core/state/raw/setters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ package raw
import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/erigontech/erigon/cl/clparams"
"github.com/erigontech/erigon/cl/cltypes"
"github.com/erigontech/erigon/cl/cltypes/solid"
"github.com/erigontech/erigon/common"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

func TestBeaconState_SetVersion(t *testing.T) {
Expand Down
5 changes: 5 additions & 0 deletions execution/tests/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ import (
"github.com/erigontech/erigon/execution/tests/testutil"
)

var fileTestSem = make(chan struct{}, 10_000) // Unlimited parallel tests - can eat unlimited disk/ram (and fail)

var (
legacyDir = filepath.Join(".", "legacy-tests")
eestDir = filepath.Join(".", "execution-spec-tests")
Expand Down Expand Up @@ -204,6 +206,9 @@ func (tm *testMatcher) walk(t *testing.T, dir string, runTest interface{}) {
}

func (tm *testMatcher) runTestFile(t *testing.T, path, name string, runTest interface{}) {
fileTestSem <- struct{}{}
defer func() { <-fileTestSem }()

t.Parallel()
if r, _ := tm.findSkip(name); r != "" {
t.Skip(r)
Expand Down
Loading