mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Use max Replica count instead of hardcoded value
This commit is contained in:
parent
2622a6cace
commit
e5e3037868
@ -179,7 +179,7 @@ var _ = SIGDescribe("ReplicationController", func() {
|
|||||||
|
|
||||||
rcScalePatchPayload, err := json.Marshal(autoscalingv1.Scale{
|
rcScalePatchPayload, err := json.Marshal(autoscalingv1.Scale{
|
||||||
Spec: autoscalingv1.ScaleSpec{
|
Spec: autoscalingv1.ScaleSpec{
|
||||||
Replicas: 2,
|
Replicas: testRcMaxReplicaCount,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
framework.ExpectNoError(err, "Failed to marshal json of replicationcontroller label patch")
|
framework.ExpectNoError(err, "Failed to marshal json of replicationcontroller label patch")
|
||||||
|
Loading…
Reference in New Issue
Block a user