Commit d419efbe authored by Dawn Chen's avatar Dawn Chen

Fix unittest reflecting the default taint tolerations change for static

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