From 6838d30affc5f1b082711ab1170c80fe2b9ca731 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Fri, 3 Jul 2020 15:33:11 +0530 Subject: [PATCH] e2e: reduce the pod cound and wait time Reduced the number of pods created in ROX E2E to save some time in E2E and changed the waiting time from 2 to 1 min. Signed-off-by: Madhu Rajanna --- e2e/rbd.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/rbd.go b/e2e/rbd.go index 2b9f160f8..7875bd80a 100644 --- a/e2e/rbd.go +++ b/e2e/rbd.go @@ -649,8 +649,8 @@ var _ = Describe("RBD", func() { if err != nil { Fail(err.Error()) } - // create an app and wait for 2 min for it to go to running state - err = createApp(f.ClientSet, app, 2) + // create an app and wait for 1 min for it to go to running state + err = createApp(f.ClientSet, app, 1) if err == nil { Fail("application should not go to running state due to invalid mount option") } @@ -720,7 +720,7 @@ var _ = Describe("RBD", func() { Fail(err.Error()) } - totalCount := 4 + totalCount := 2 appClone.Namespace = f.UniqueName appClone.Spec.Volumes[0].PersistentVolumeClaim.ClaimName = pvcClone.Name