tests: run block and state subtests in parallel

This commit is contained in:
Matthew Halpern 2019-04-01 07:47:53 -07:00
parent 92faf1bf7a
commit 20c9a7727b

View file

@ -59,6 +59,8 @@ func TestState(t *testing.T) {
key := fmt.Sprintf("%s/%d", subtest.Fork, subtest.Index)
name := name + "/" + key
t.Run(key, func(t *testing.T) {
t.Parallel()
withTrace(t, test.gasLimit(subtest), func(vmconfig vm.Config) error {
_, err := test.Run(subtest, vmconfig)
return st.checkFailure(t, name, err)