Skip to content

Commit

Permalink
lint: do not run under race or stress
Browse files Browse the repository at this point in the history
There is not much value in running lint or stress under race, which
usually invokes different programs or libraries which do not affect the
running of CockroachDB. As such, we move to disable these checks.

Release note: None
  • Loading branch information
otan committed Jun 7, 2021
1 parent c2edcc2 commit 16e72f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/testutils/lint/lint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ func vetCmd(t *testing.T, dir, name string, args []string, filters []stream.Filt
// parallelization, and which have reasonable memory consumption
// should be marked with t.Parallel().
func TestLint(t *testing.T) {
skip.UnderStress(t, "does not provide value")
skip.UnderRace(t, "does not provide value")

crdb, err := build.Import(cockroachDB, "", build.FindOnly)
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 16e72f3

Please sign in to comment.