Commit 0d84a4fe authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #47105 from feiskyer/cleanup

Automatic merge from submit-queue (batch tested with PRs 47038, 47105) kuberuntime: cleanup TestGenerateContainerConfig Followup of #47009, cleanup TestGenerateContainerConfig and remove unused expectedConfig. /assign @yujuhong
parents 6acfb0f8 82ff0ad0
......@@ -251,7 +251,6 @@ func TestGenerateContainerConfig(t *testing.T) {
},
}
expectedConfig = makeExpetectedConfig(m, podWithContainerSecurityContext, 0)
containerConfig, err = m.generateContainerConfig(&podWithContainerSecurityContext.Spec.Containers[0], podWithContainerSecurityContext, 0, "", podWithContainerSecurityContext.Spec.Containers[0].Image)
_, err = m.generateContainerConfig(&podWithContainerSecurityContext.Spec.Containers[0], podWithContainerSecurityContext, 0, "", podWithContainerSecurityContext.Spec.Containers[0].Image)
assert.Error(t, err)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment