mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-18 20:17:04 +00:00
make sure we don't create more pods (#1452)
This commit is contained in:
@@ -272,10 +272,9 @@ var _ = Describe("Cloneset based rollout tests", func() {
|
||||
|
||||
AfterEach(func() {
|
||||
By("Clean up resources after a test")
|
||||
k8sClient.Delete(ctx, &app)
|
||||
k8sClient.Delete(ctx, &appRollout)
|
||||
verifyRolloutDeleted()
|
||||
By("Delete the application")
|
||||
k8sClient.Delete(ctx, &app)
|
||||
By(fmt.Sprintf("Delete the entire namespaceName %s", ns.Name))
|
||||
// delete the namespaceName with all its resources
|
||||
Expect(k8sClient.Delete(ctx, &ns, client.PropagationPolicy(metav1.DeletePropagationBackground))).Should(BeNil())
|
||||
|
||||
@@ -14,4 +14,4 @@ spec:
|
||||
- stress-cpu=1
|
||||
image: stefanprodan/podinfo:4.0.3
|
||||
port: 8080
|
||||
updateStrategyType: InPlaceIfPossible
|
||||
updateStrategyType: InPlaceOnly
|
||||
+1
-1
@@ -14,5 +14,5 @@ spec:
|
||||
- stress-cpu=1
|
||||
image: stefanprodan/podinfo:4.0.3
|
||||
port: 8080
|
||||
updateStrategyType: InPlaceIfPossible
|
||||
updateStrategyType: InPlaceOnly
|
||||
replicas: 5
|
||||
+1
-1
@@ -14,5 +14,5 @@ spec:
|
||||
- stress-cpu=1
|
||||
image: stefanprodan/podinfo:5.0.2
|
||||
port: 8080
|
||||
updateStrategyType: InPlaceIfPossible
|
||||
updateStrategyType: InPlaceOnly
|
||||
replicas: 5
|
||||
Reference in New Issue
Block a user