summaryrefslogtreecommitdiff
path: root/tests/e2e
diff options
context:
space:
mode:
authorwlq1212 <liqing.wu@daocloud.io>2023-08-18 16:51:06 +0800
committerliqing.wu <liqing.wu@daoclod.io>2023-08-18 17:44:37 +0800
commit35900ddbae30665a99979aa9869c740a7c48d4d9 (patch)
tree9041343c353dbbc75f17b35371183744ee7536c1 /tests/e2e
parentMerge pull request #4934 from cl2017/apply_reviewer (diff)
downloadkubeedge-35900ddbae30665a99979aa9869c740a7c48d4d9.tar.gz
Fix improve the success rate of e2e test ci
Signed-off-by: liqing.wu <liqing.wu@daoclod.io>
Diffstat (limited to 'tests/e2e')
-rw-r--r--tests/e2e/device/device.go2
-rw-r--r--tests/e2e/testsuite/testsuite.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/e2e/device/device.go b/tests/e2e/device/device.go
index 43eb02bd2..fe1af9d9d 100644
--- a/tests/e2e/device/device.go
+++ b/tests/e2e/device/device.go
@@ -209,7 +209,7 @@ var _ = GroupDescribe("Device Management test in E2E scenario", func() {
err = utils.CheckDeviceExists(deviceInstanceList, &newLedDevice)
gomega.Expect(err).To(gomega.BeNil())
- time.Sleep(3 * time.Second)
+ time.Sleep(10 * time.Second)
configMap, err := clientSet.CoreV1().ConfigMaps("default").Get(context.TODO(), "device-profile-config-"+constants.NodeName, metav1.GetOptions{})
gomega.Expect(err).To(gomega.BeNil())
diff --git a/tests/e2e/testsuite/testsuite.go b/tests/e2e/testsuite/testsuite.go
index a0b8f6d3d..9f7c94adf 100644
--- a/tests/e2e/testsuite/testsuite.go
+++ b/tests/e2e/testsuite/testsuite.go
@@ -39,7 +39,7 @@ func CreateDeploymentTest(c clientset.Interface, replica int32, deplName string)
_, err = utils.GetDeployment(c, v1.NamespaceDefault, deplName)
gomega.Expect(err).To(gomega.BeNil())
- time.Sleep(time.Second * 1)
+ time.Sleep(time.Second * 20)
ginkgo.By(fmt.Sprintf("get pod for deployment %s", deplName))
labelSelector := labels.SelectorFromSet(map[string]string{"app": deplName})