Skip to content

Commit

Permalink
build: skip flaky tests in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient committed May 24, 2024
1 parent 7fd7c1f commit 150aa20
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,14 @@ var (

// This is where the tests should be unpacked.
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"))
Expand Down Expand Up @@ -299,6 +307,9 @@ func doTest(cmdline []string) {
// Enable CKZG backend in CI.
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
gotest.Args = append(gotest.Args, "-tags=integrationtests")

Expand Down

0 comments on commit 150aa20

Please sign in to comment.