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 <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2019-08-29 13:36:44 +05:30 committed by mergify[bot]
parent 025aec3dd3
commit 7d3a18c5b7

View File

@ -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() {