Try non-parallel tests (#6021)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
This commit is contained in:
ledgerwatch 2022-11-10 23:47:35 +00:00 committed by GitHub
parent 14906fec17
commit de26ccf6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ import (
) )
func TestDifficulty(t *testing.T) { func TestDifficulty(t *testing.T) {
t.Parallel() //t.Parallel()
dt := new(testMatcher) dt := new(testMatcher)

View File

@ -226,7 +226,7 @@ func (tm *testMatcher) runTestFile(t *testing.T, path, name string, runTest inte
t.Skip("Skipped by whitelist") t.Skip("Skipped by whitelist")
} }
} }
t.Parallel() //t.Parallel()
// Load the file as map[string]<testType>. // Load the file as map[string]<testType>.
m := makeMapFromTestFunc(runTest) m := makeMapFromTestFunc(runTest)
@ -281,7 +281,7 @@ func runTestFunc(runTest interface{}, t *testing.T, name string, m reflect.Value
} }
func TestMatcherWhitelist(t *testing.T) { func TestMatcherWhitelist(t *testing.T) {
t.Parallel() //t.Parallel()
tm := new(testMatcher) tm := new(testMatcher)
tm.whitelist("invalid*") tm.whitelist("invalid*")
tm.walk(t, rlpTestDir, func(t *testing.T, name string, test *RLPTest) { tm.walk(t, rlpTestDir, func(t *testing.T, name string, test *RLPTest) {

View File

@ -23,7 +23,7 @@ import (
) )
func TestRLP(t *testing.T) { func TestRLP(t *testing.T) {
t.Parallel() //t.Parallel()
tm := new(testMatcher) tm := new(testMatcher)
tm.walk(t, rlpTestDir, func(t *testing.T, name string, test *RLPTest) { tm.walk(t, rlpTestDir, func(t *testing.T, name string, test *RLPTest) {
if err := tm.checkFailure(t, test.Run()); err != nil { if err := tm.checkFailure(t, test.Run()); err != nil {

View File

@ -38,7 +38,7 @@ func TestState(t *testing.T) {
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
t.Skip("fix me on win please") // it's too slow on win, need generally improve speed of this tests t.Skip("fix me on win please") // it's too slow on win, need generally improve speed of this tests
} }
t.Parallel() //t.Parallel()
st := new(testMatcher) st := new(testMatcher)

View File

@ -25,7 +25,7 @@ import (
) )
func TestTransaction(t *testing.T) { func TestTransaction(t *testing.T) {
t.Parallel() //t.Parallel()
txt := new(testMatcher) txt := new(testMatcher)