Ease modifying the test list in E2E testing
[functest-kubernetes.git] / functest_kubernetes / ims / cassandra-depl.yaml
index 053bd3f..b2053ed 100644 (file)
@@ -12,6 +12,10 @@ spec:
       labels:
         service: cassandra
     spec:
+      initContainers:
+        - name: wait-on-etcd
+          image: busybox:1.28
+          command: ['sh', '-c', 'until nslookup etcd; do echo waiting for etcd to start ...; sleep 2; done']
       containers:
       - image: "ollivier/clearwater-cassandra:latest"
         imagePullPolicy: Always