mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
e2e: don't require minimum availability once scaling takes place
This commit is contained in:
parent
5496d22733
commit
cc2550c4e1
@ -1166,8 +1166,6 @@ func testScaledRolloutDeployment(f *framework.Framework) {
|
|||||||
By(fmt.Sprintf("Waiting for deployment status to sync (current available: %d, minimum available: %d)", deployment.Status.AvailableReplicas, deploymentutil.MinAvailable(deployment)))
|
By(fmt.Sprintf("Waiting for deployment status to sync (current available: %d, minimum available: %d)", deployment.Status.AvailableReplicas, deploymentutil.MinAvailable(deployment)))
|
||||||
err = framework.WaitForDeploymentStatusValid(c, deployment)
|
err = framework.WaitForDeploymentStatusValid(c, deployment)
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
err = framework.WaitForDeploymentStatus(c, deployment)
|
|
||||||
Expect(err).NotTo(HaveOccurred())
|
|
||||||
|
|
||||||
// Update the deployment with a non-existent image so that the new replica set will be blocked.
|
// Update the deployment with a non-existent image so that the new replica set will be blocked.
|
||||||
By(fmt.Sprintf("Updating deployment %q with a non-existent image", deploymentName))
|
By(fmt.Sprintf("Updating deployment %q with a non-existent image", deploymentName))
|
||||||
@ -1227,8 +1225,6 @@ func testScaledRolloutDeployment(f *framework.Framework) {
|
|||||||
By(fmt.Sprintf("Waiting for deployment status to sync (current available: %d, minimum available: %d)", deployment.Status.AvailableReplicas, deploymentutil.MinAvailable(deployment)))
|
By(fmt.Sprintf("Waiting for deployment status to sync (current available: %d, minimum available: %d)", deployment.Status.AvailableReplicas, deploymentutil.MinAvailable(deployment)))
|
||||||
err = framework.WaitForDeploymentStatusValid(c, deployment)
|
err = framework.WaitForDeploymentStatusValid(c, deployment)
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
err = framework.WaitForDeploymentStatus(c, deployment)
|
|
||||||
Expect(err).NotTo(HaveOccurred())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func testOverlappingDeployment(f *framework.Framework) {
|
func testOverlappingDeployment(f *framework.Framework) {
|
||||||
|
Loading…
Reference in New Issue
Block a user