mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 00:10:20 +00:00
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:
parent
025aec3dd3
commit
7d3a18c5b7
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user