Skip to content

Commit

Permalink
exec test should not run in Parallel as feature gate is not locked
Browse files Browse the repository at this point in the history
Signed-off-by: pacoxu <paco.xu@daocloud.io>
  • Loading branch information
pacoxu authored and jackfrancis committed Apr 14, 2021
1 parent bb63652 commit 113ae8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelet/dockershim/exec_test.go
Expand Up @@ -143,9 +143,9 @@ func TestExecInContainer(t *testing.T) {
var resize <-chan remotecommand.TerminalSize

for _, tc := range testcases {
// these tests cannot be run in parallel due to the fact that they are feature gate dependent
tc := tc
t.Run(tc.description, func(t *testing.T) {
t.Parallel()
defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ExecProbeTimeout, tc.execProbeTimeout)()

mockClient := mockclient.NewMockInterface(ctrl)
Expand Down

0 comments on commit 113ae8b

Please sign in to comment.