Skip to content

Commit

Permalink
kv: skip TestConstraintConformanceReportIntegration under deadlock
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nvanbenschoten committed Aug 9, 2023
1 parent 75768e5 commit ca73277
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/kv/kvserver/reports/reporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit ca73277

Please sign in to comment.