mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
Try non-parallel tests (#6021)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
This commit is contained in:
parent
14906fec17
commit
de26ccf6f6
@ -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)
|
||||||
|
|
||||||
|
@ -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) {
|
||||||
|
@ -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 {
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user