From ca73277d97199efe735798f347f9a8893bd6ad7c Mon Sep 17 00:00:00 2001 From: Nathan VanBenschoten Date: Wed, 9 Aug 2023 14:45:05 +0000 Subject: [PATCH] kv: skip TestConstraintConformanceReportIntegration under deadlock Fixes #108430. This commit avoids flakiness in `TestConstraintConformanceReportIntegration` by skipping the test under deadlock builds. It has been observed to run slowly and flake under stress, and we see the same kinds of behavior under deadlock builds. Release notes: None --- pkg/kv/kvserver/reports/reporter_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/kv/kvserver/reports/reporter_test.go b/pkg/kv/kvserver/reports/reporter_test.go index 8dd9049ebb46..f51d9b44f2d6 100644 --- a/pkg/kv/kvserver/reports/reporter_test.go +++ b/pkg/kv/kvserver/reports/reporter_test.go @@ -47,6 +47,8 @@ func TestConstraintConformanceReportIntegration(t *testing.T) { // don't make progress. skip.UnderStressRace(t) skip.UnderRace(t, "takes >1min under race") + // Similarly, skip the test under deadlock builds. + skip.UnderDeadlock(t, "takes >1min under deadlock") ctx := context.Background() tc := serverutils.StartNewTestCluster(t, 5, base.TestClusterArgs{