diff --git a/build/ci.go b/build/ci.go index 002f6bb15297..347cf95e6861 100644 --- a/build/ci.go +++ b/build/ci.go @@ -315,7 +315,7 @@ func doTest(cmdline []string) { // Test a single package at a time. CI builders are slow // and some tests run into timeouts under load. gotest := goTool("test", buildFlags(env)...) - gotest.Args = append(gotest.Args, "-p", "1", "-timeout", "5m") + gotest.Args = append(gotest.Args, "-p", "1", "-timeout", "5m", "--short") if *coverage { gotest.Args = append(gotest.Args, "-covermode=atomic", "-cover") } diff --git a/tests/block_test.go b/tests/block_test.go index 84fade3bf3bf..3a55e4c34fba 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -26,6 +26,8 @@ func TestBlockchain(t *testing.T) { bt := new(testMatcher) // General state tests are 'exported' as blockchain tests, but we can run them natively. bt.skipLoad(`^GeneralStateTests/`) + // Skip random failures due to selfish mining test + bt.skipLoad(`.*bcForgedTest/bcForkUncle\.json`) // Slow tests bt.slow(`.*bcExploitTest/DelegateCallSpam.json`)