Skip to content

Commit 3e08f32

Browse files
tbgclaude
andcommitted
kvserver: skip flow control integration tests under duress
This commit adds `skip.UnderDuress` to all flow control integration tests that start test clusters and compare output against datadriven test files. These tests are resource-intensive and can be flaky under duress conditions. Informs #156181. Epic: none. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9bcc3fd commit 3e08f32

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pkg/kv/kvserver/flow_control_integration_test.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ import (
6464
func TestFlowControlBasicV2(t *testing.T) {
6565
defer leaktest.AfterTest(t)()
6666
defer log.Scope(t).Close(t)
67+
skip.UnderDuress(t, "https://github.com/cockroachdb/cockroach/issues/156181")
6768

6869
testutils.RunValues(t, "kvadmission.flow_control.mode", []kvflowcontrol.ModeT{
6970
kvflowcontrol.ApplyToElastic,
@@ -159,6 +160,7 @@ ORDER BY name ASC;
159160
func TestFlowControlRangeSplitMergeV2(t *testing.T) {
160161
defer leaktest.AfterTest(t)()
161162
defer log.Scope(t).Close(t)
163+
skip.UnderDuress(t, "https://github.com/cockroachdb/cockroach/issues/156181")
162164
setRACv2DebugVModule(t)
163165

164166
testutils.RunValues(t, "kvadmission.flow_control.mode", []kvflowcontrol.ModeT{
@@ -280,6 +282,7 @@ func TestFlowControlRangeSplitMergeV2(t *testing.T) {
280282
func TestFlowControlBlockedAdmissionV2(t *testing.T) {
281283
defer leaktest.AfterTest(t)()
282284
defer log.Scope(t).Close(t)
285+
skip.UnderDuress(t, "https://github.com/cockroachdb/cockroach/issues/156181")
283286

284287
testutils.RunValues(t, "kvadmission.flow_control.mode", []kvflowcontrol.ModeT{
285288
kvflowcontrol.ApplyToElastic,
@@ -535,6 +538,7 @@ func TestFlowControlAdmissionPostSplitMergeV2(t *testing.T) {
535538
func TestFlowControlCrashedNodeV2(t *testing.T) {
536539
defer leaktest.AfterTest(t)()
537540
defer log.Scope(t).Close(t)
541+
skip.UnderDuress(t, "https://github.com/cockroachdb/cockroach/issues/156181")
538542

539543
testutils.RunValues(t, "kvadmission.flow_control.mode", []kvflowcontrol.ModeT{
540544
kvflowcontrol.ApplyToElastic,
@@ -648,6 +652,7 @@ func TestFlowControlRaftSnapshotV2(t *testing.T) {
648652
defer leaktest.AfterTest(t)()
649653
defer log.Scope(t).Close(t)
650654
setRACv2DebugVModule(t)
655+
skip.UnderDuress(t, "https://github.com/cockroachdb/cockroach/issues/156181")
651656

652657
const numServers int = 5
653658

@@ -1167,6 +1172,7 @@ func TestFlowControlRaftMembershipRemoveSelfV2(t *testing.T) {
11671172
func TestFlowControlClassPrioritizationV2(t *testing.T) {
11681173
defer leaktest.AfterTest(t)()
11691174
defer log.Scope(t).Close(t)
1175+
skip.UnderDuress(t, "https://github.com/cockroachdb/cockroach/issues/156181")
11701176

11711177
testutils.RunValues(t, "kvadmission.flow_control.mode", []kvflowcontrol.ModeT{
11721178
kvflowcontrol.ApplyToElastic,
@@ -1263,6 +1269,7 @@ func TestFlowControlClassPrioritizationV2(t *testing.T) {
12631269
func TestFlowControlUnquiescedRangeV2(t *testing.T) {
12641270
defer leaktest.AfterTest(t)()
12651271
defer log.Scope(t).Close(t)
1272+
skip.UnderDuress(t, "https://github.com/cockroachdb/cockroach/issues/156181")
12661273

12671274
testutils.RunValues(t, "kvadmission.flow_control.mode", []kvflowcontrol.ModeT{
12681275
kvflowcontrol.ApplyToElastic,
@@ -1390,6 +1397,7 @@ func TestFlowControlUnquiescedRangeV2(t *testing.T) {
13901397
func TestFlowControlTransferLeaseV2(t *testing.T) {
13911398
defer leaktest.AfterTest(t)()
13921399
defer log.Scope(t).Close(t)
1400+
skip.UnderDuress(t, "https://github.com/cockroachdb/cockroach/issues/156181")
13931401

13941402
testutils.RunValues(t, "kvadmission.flow_control.mode", []kvflowcontrol.ModeT{
13951403
kvflowcontrol.ApplyToElastic,
@@ -1480,6 +1488,7 @@ func TestFlowControlTransferLeaseV2(t *testing.T) {
14801488
func TestFlowControlLeaderNotLeaseholderV2(t *testing.T) {
14811489
defer leaktest.AfterTest(t)()
14821490
defer log.Scope(t).Close(t)
1491+
skip.UnderDuress(t, "https://github.com/cockroachdb/cockroach/issues/156181")
14831492

14841493
testutils.RunValues(t, "kvadmission.flow_control.mode", []kvflowcontrol.ModeT{
14851494
kvflowcontrol.ApplyToElastic,
@@ -1598,6 +1607,7 @@ func TestFlowControlLeaderNotLeaseholderV2(t *testing.T) {
15981607
func TestFlowControlGranterAdmitOneByOneV2(t *testing.T) {
15991608
defer leaktest.AfterTest(t)()
16001609
defer log.Scope(t).Close(t)
1610+
skip.UnderDuress(t, "https://github.com/cockroachdb/cockroach/issues/156181")
16011611

16021612
testutils.RunValues(t, "kvadmission.flow_control.mode", []kvflowcontrol.ModeT{
16031613
kvflowcontrol.ApplyToElastic,
@@ -1710,6 +1720,7 @@ func isTestGeneratedPut(ctx context.Context) bool {
17101720
func TestFlowControlSendQueue(t *testing.T) {
17111721
defer leaktest.AfterTest(t)()
17121722
defer log.Scope(t).Close(t)
1723+
skip.UnderDuress(t, "https://github.com/cockroachdb/cockroach/issues/156181")
17131724

17141725
ctx := context.Background()
17151726
const numNodes = 5

0 commit comments

Comments
 (0)