Skip to content

Commit

Permalink
e2e: reduce the pod cound and wait time
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Madhu-1 committed Jul 3, 2020
1 parent 100ff61 commit 96efaa2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/rbd.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,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")
}
Expand Down Expand Up @@ -722,7 +722,7 @@ var _ = Describe("RBD", func() {
Fail(err.Error())
}

totalCount := 4
totalCount := 2
appClone.Namespace = f.UniqueName
appClone.Spec.Volumes[0].PersistentVolumeClaim.ClaimName = pvcClone.Name

Expand Down

0 comments on commit 96efaa2

Please sign in to comment.