From 7d3a18c5b771334c6e0f8277488f9b3ec085c5ac Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Thu, 29 Aug 2019 13:36:44 +0530 Subject: [PATCH] Fix e2e failure caused due to mon connection from toolbox i think now its take time to discover the mon IP from svc name in tool box, this is a workaround to fix it. Signed-off-by: Madhu Rajanna --- e2e/deploy-rook.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/e2e/deploy-rook.go b/e2e/deploy-rook.go index 297c0ebec..a1ffcae73 100644 --- a/e2e/deploy-rook.go +++ b/e2e/deploy-rook.go @@ -3,6 +3,7 @@ package e2e import ( "fmt" "strings" + "time" . "github.com/onsi/gomega" // nolint metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -97,6 +98,8 @@ func deployToolBox(c kubernetes.Interface) { name := getPodName(rookNS, c, opt) err := waitForPodInRunningState(name, rookNS, c, deployTimeout) Expect(err).Should(BeNil()) + // this is a workaround, as we are hitting "unable to get monitor info from DNS SRV with service name: ceph-mon" + time.Sleep(30 * time.Second) } func deployRook() {