Skip to content

Commit 5975d2d

Browse files
committed
kv: skip TestConstraintConformanceReportIntegration under deadlock
Fixes cockroachdb#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
1 parent 6aa4615 commit 5975d2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/kv/kvserver/reports/reporter_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ func TestConstraintConformanceReportIntegration(t *testing.T) {
4848
// don't make progress.
4949
skip.UnderStressRace(t)
5050
skip.UnderRace(t, "takes >1min under race")
51+
// Similarly, skip the test under deadlock builds.
52+
skip.UnderDeadlock(t, "takes >1min under deadlock")
5153

5254
ctx := context.Background()
5355
tc := serverutils.StartNewTestCluster(t, 5, base.TestClusterArgs{

0 commit comments

Comments
 (0)