mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
build: skip flaky tests in ci
This commit is contained in:
parent
7fd7c1f7dd
commit
150aa20c3a
1 changed files with 11 additions and 0 deletions
11
build/ci.go
11
build/ci.go
|
|
@ -130,6 +130,14 @@ var (
|
||||||
|
|
||||||
// This is where the tests should be unpacked.
|
// This is where the tests should be unpacked.
|
||||||
executionSpecTestsDir = "tests/spec-tests"
|
executionSpecTestsDir = "tests/spec-tests"
|
||||||
|
|
||||||
|
// Tests to skip in CI.
|
||||||
|
// TODO: improve below tests so they aren't so flaky.
|
||||||
|
skipTests = []string{
|
||||||
|
"TestSkeletonSyncRetrievals",
|
||||||
|
"TestUpdatedKeyfileContents",
|
||||||
|
"TestForkResendTx",
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
var GOBIN, _ = filepath.Abs(filepath.Join("build", "bin"))
|
var GOBIN, _ = filepath.Abs(filepath.Join("build", "bin"))
|
||||||
|
|
@ -299,6 +307,9 @@ func doTest(cmdline []string) {
|
||||||
// Enable CKZG backend in CI.
|
// Enable CKZG backend in CI.
|
||||||
gotest.Args = append(gotest.Args, "-tags=ckzg")
|
gotest.Args = append(gotest.Args, "-tags=ckzg")
|
||||||
|
|
||||||
|
// Skips designated tests.
|
||||||
|
gotest.Args = append(gotest.Args, fmt.Sprintf("-skip=(%s)", strings.Join(skipTests, "|")))
|
||||||
|
|
||||||
// Enable integration-tests
|
// Enable integration-tests
|
||||||
gotest.Args = append(gotest.Args, "-tags=integrationtests")
|
gotest.Args = append(gotest.Args, "-tags=integrationtests")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue