mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 13:12:20 +00:00
Use max Replica count instead of hardcoded value
This commit is contained in:
@@ -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")
|
||||||
|
Reference in New Issue
Block a user