mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
build: disable long-running tests on travis
This commit is contained in:
parent
1992507bab
commit
3f09b33dd7
2 changed files with 3 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ func doTest(cmdline []string) {
|
||||||
// Test a single package at a time. CI builders are slow
|
// Test a single package at a time. CI builders are slow
|
||||||
// and some tests run into timeouts under load.
|
// and some tests run into timeouts under load.
|
||||||
gotest := goTool("test", buildFlags(env)...)
|
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 {
|
if *coverage {
|
||||||
gotest.Args = append(gotest.Args, "-covermode=atomic", "-cover")
|
gotest.Args = append(gotest.Args, "-covermode=atomic", "-cover")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,8 @@ func TestBlockchain(t *testing.T) {
|
||||||
bt := new(testMatcher)
|
bt := new(testMatcher)
|
||||||
// General state tests are 'exported' as blockchain tests, but we can run them natively.
|
// General state tests are 'exported' as blockchain tests, but we can run them natively.
|
||||||
bt.skipLoad(`^GeneralStateTests/`)
|
bt.skipLoad(`^GeneralStateTests/`)
|
||||||
|
// Skip random failures due to selfish mining test
|
||||||
|
bt.skipLoad(`.*bcForgedTest/bcForkUncle\.json`)
|
||||||
|
|
||||||
// Slow tests
|
// Slow tests
|
||||||
bt.slow(`.*bcExploitTest/DelegateCallSpam.json`)
|
bt.slow(`.*bcExploitTest/DelegateCallSpam.json`)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue