Fix unittest reflecting the default taint tolerations change for static

pods.
This commit is contained in:
Dawn Chen 2017-03-17 14:06:34 -07:00
parent d26e906191
commit d419efbe71

View File

@ -208,6 +208,10 @@ func getTestCases(hostname types.NodeName) []*testCase {
RestartPolicy: v1.RestartPolicyAlways,
DNSPolicy: v1.DNSClusterFirst,
TerminationGracePeriodSeconds: &grace,
Tolerations: []v1.Toleration{{
Operator: "Exists",
Effect: "NoExecute",
}},
Containers: []v1.Container{{
Name: "image",
Image: "test/image",