update testcase err msg

This commit is contained in:
Di Xu
2017-08-10 11:45:09 +08:00
parent fc0bdb5622
commit 75258b2763
2 changed files with 3 additions and 3 deletions

View File

@@ -5060,7 +5060,7 @@ func TestValidatePod(t *testing.T) {
},
},
"invalid opaque integer resource requirement: request must be <= limit": {
expectedError: "must be greater than or equal to pod.alpha.kubernetes.io/opaque-int-resource-A",
expectedError: "must be less than or equal to pod.alpha.kubernetes.io/opaque-int-resource-A",
spec: api.Pod{
ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: "ns"},
Spec: api.PodSpec{