mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	exec test should not run in Parallel as feature gate is not locked
Signed-off-by: pacoxu <paco.xu@daocloud.io>
This commit is contained in:
		@@ -143,9 +143,9 @@ func TestExecInContainer(t *testing.T) {
 | 
				
			|||||||
	var resize <-chan remotecommand.TerminalSize
 | 
						var resize <-chan remotecommand.TerminalSize
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	for _, tc := range testcases {
 | 
						for _, tc := range testcases {
 | 
				
			||||||
 | 
							// these tests cannot be run in parallel due to the fact that they are feature gate dependent
 | 
				
			||||||
		tc := tc
 | 
							tc := tc
 | 
				
			||||||
		t.Run(tc.description, func(t *testing.T) {
 | 
							t.Run(tc.description, func(t *testing.T) {
 | 
				
			||||||
			t.Parallel()
 | 
					 | 
				
			||||||
			defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ExecProbeTimeout, tc.execProbeTimeout)()
 | 
								defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ExecProbeTimeout, tc.execProbeTimeout)()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			mockClient := mockclient.NewMockInterface(ctrl)
 | 
								mockClient := mockclient.NewMockInterface(ctrl)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user