mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +00:00
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:
parent
b76d470bf1
commit
6838d30aff
@ -649,8 +649,8 @@ var _ = Describe("RBD", func() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
Fail(err.Error())
|
Fail(err.Error())
|
||||||
}
|
}
|
||||||
// create an app and wait for 2 min for it to go to running state
|
// create an app and wait for 1 min for it to go to running state
|
||||||
err = createApp(f.ClientSet, app, 2)
|
err = createApp(f.ClientSet, app, 1)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
Fail("application should not go to running state due to invalid mount option")
|
Fail("application should not go to running state due to invalid mount option")
|
||||||
}
|
}
|
||||||
@ -720,7 +720,7 @@ var _ = Describe("RBD", func() {
|
|||||||
Fail(err.Error())
|
Fail(err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
totalCount := 4
|
totalCount := 2
|
||||||
appClone.Namespace = f.UniqueName
|
appClone.Namespace = f.UniqueName
|
||||||
appClone.Spec.Volumes[0].PersistentVolumeClaim.ClaimName = pvcClone.Name
|
appClone.Spec.Volumes[0].PersistentVolumeClaim.ClaimName = pvcClone.Name
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user