diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index c7462a8d262..f47c4b0dcaa 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -24,6 +24,7 @@ jobs: os: - ubuntu-22.04 - macos-14 + - ubuntu-latest-erigontests-large runs-on: ${{ matrix.os }} steps: @@ -37,7 +38,7 @@ jobs: run: sudo apt update && sudo apt install build-essential - name: test-integration - run: make test-integration + run: GOGC=50 make test-integration tests-windows: strategy: diff --git a/tests/block_test.go b/tests/block_test.go index 269dde4ab78..3003fd707a0 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -53,6 +53,7 @@ func TestBlockchain(t *testing.T) { checkStateRoot := true bt.walk(t, blockTestDir, func(t *testing.T, name string, test *BlockTest) { + t.Parallel() // import pre accounts & construct test genesis block & state root if err := bt.checkFailure(t, test.Run(t, checkStateRoot)); err != nil { t.Error(err) diff --git a/tests/difficulty_test.go b/tests/difficulty_test.go index daab9e53e8e..c301d94ff70 100644 --- a/tests/difficulty_test.go +++ b/tests/difficulty_test.go @@ -28,8 +28,6 @@ import ( ) func TestDifficulty(t *testing.T) { - //t.Parallel() - dt := new(testMatcher) dt.walk(t, difficultyTestDir, func(t *testing.T, name string, superTest map[string]json.RawMessage) { diff --git a/tests/exec_spec_test.go b/tests/exec_spec_test.go index d8ea375f79a..e93e660f97b 100644 --- a/tests/exec_spec_test.go +++ b/tests/exec_spec_test.go @@ -35,6 +35,7 @@ func TestExecutionSpec(t *testing.T) { checkStateRoot := true bt.walk(t, dir, func(t *testing.T, name string, test *BlockTest) { + t.Parallel() // import pre accounts & construct test genesis block & state root if err := bt.checkFailure(t, test.Run(t, checkStateRoot)); err != nil { t.Error(err) diff --git a/tests/init_test.go b/tests/init_test.go index a3a28f110f1..27bbcda2ea1 100644 --- a/tests/init_test.go +++ b/tests/init_test.go @@ -228,7 +228,6 @@ func (tm *testMatcher) runTestFile(t *testing.T, path, name string, runTest inte t.Skip("Skipped by whitelist") } } - //t.Parallel() // Load the file as map[string]. m := makeMapFromTestFunc(runTest) @@ -289,7 +288,6 @@ func runTestFunc(runTest interface{}, t *testing.T, name string, m reflect.Value } func TestMatcherWhitelist(t *testing.T) { - //t.Parallel() tm := new(testMatcher) tm.whitelist("invalid*") tm.walk(t, rlpTestDir, func(t *testing.T, name string, test *RLPTest) { diff --git a/tests/rlp_test.go b/tests/rlp_test.go index f6a907b2ade..25abe33f7e6 100644 --- a/tests/rlp_test.go +++ b/tests/rlp_test.go @@ -26,7 +26,6 @@ import ( ) func TestRLP(t *testing.T) { - //t.Parallel() tm := new(testMatcher) tm.walk(t, rlpTestDir, func(t *testing.T, name string, test *RLPTest) { if err := tm.checkFailure(t, test.Run()); err != nil { diff --git a/tests/state_test.go b/tests/state_test.go index 7a5f9b93ddb..7199c444aac 100644 --- a/tests/state_test.go +++ b/tests/state_test.go @@ -39,12 +39,12 @@ import ( ) func TestState(t *testing.T) { + t.Parallel() defer log.Root().SetHandler(log.Root().GetHandler()) log.Root().SetHandler(log.LvlFilterHandler(log.LvlError, log.StderrHandler)) if runtime.GOOS == "windows" { t.Skip("fix me on win please") // it's too slow on win and stops on macos, need generally improve speed of this tests } - //t.Parallel() st := new(testMatcher) diff --git a/tests/transaction_test.go b/tests/transaction_test.go index 1b3ffd32837..af2b25d0a7b 100644 --- a/tests/transaction_test.go +++ b/tests/transaction_test.go @@ -28,8 +28,6 @@ import ( ) func TestTransaction(t *testing.T) { - //t.Parallel() - txt := new(testMatcher) // We don't allow more than uint64 in gas amount @@ -38,6 +36,7 @@ func TestTransaction(t *testing.T) { txt.skipLoad("^ttGasLimit/TransactionWithGasLimitxPriceOverflow.json") txt.walk(t, transactionTestDir, func(t *testing.T, name string, test *TransactionTest) { + t.Parallel() cfg := params.MainnetChainConfig if err := txt.checkFailure(t, test.Run(cfg.ChainID)); err != nil { t.Error(err)