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 <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2020-07-03 15:33:11 +05:30 committed by mergify[bot]
parent b76d470bf1
commit 6838d30aff

View File

@ -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