Skip to content

Commit

Permalink
ttljob: skip TestSpanToQueryBoundsCompositeKeys under stress
Browse files Browse the repository at this point in the history
This patch skips TestSpanToQueryBoundsCompositeKeys under
stress/stressrace as it often hits OOM issues under these
conditions.

Epic: none

Release note: None
  • Loading branch information
annrpom committed Feb 22, 2024
1 parent ee94b81 commit eabc7c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/sql/ttl/ttljob/ttljob_processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
"github.com/cockroachdb/cockroach/pkg/sql/sem/tree"
"github.com/cockroachdb/cockroach/pkg/sql/ttl/ttljob"
"github.com/cockroachdb/cockroach/pkg/testutils/serverutils"
"github.com/cockroachdb/cockroach/pkg/testutils/skip"
"github.com/cockroachdb/cockroach/pkg/testutils/sqlutils"
"github.com/cockroachdb/cockroach/pkg/util/leaktest"
"github.com/cockroachdb/cockroach/pkg/util/log"
Expand Down Expand Up @@ -224,6 +225,9 @@ func TestSpanToQueryBoundsCompositeKeys(t *testing.T) {
defer leaktest.AfterTest(t)()
defer log.Scope(t).Close(t)

skip.UnderStress(t)
skip.UnderStressRace(t)

testCases := []struct {
desc string
// tablePKValues are PK values initially inserted into the table.
Expand Down

0 comments on commit eabc7c2

Please sign in to comment.