From eabc7c2bb7972d7444a136ce5a04fa75e864f069 Mon Sep 17 00:00:00 2001 From: Annie Pompa Date: Thu, 22 Feb 2024 10:45:51 -0500 Subject: [PATCH] ttljob: skip TestSpanToQueryBoundsCompositeKeys under stress This patch skips TestSpanToQueryBoundsCompositeKeys under stress/stressrace as it often hits OOM issues under these conditions. Epic: none Release note: None --- pkg/sql/ttl/ttljob/ttljob_processor_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/sql/ttl/ttljob/ttljob_processor_test.go b/pkg/sql/ttl/ttljob/ttljob_processor_test.go index cb9f27cef53a..ed341667545a 100644 --- a/pkg/sql/ttl/ttljob/ttljob_processor_test.go +++ b/pkg/sql/ttl/ttljob/ttljob_processor_test.go @@ -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" @@ -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.