Waiting for gRPC disconnect to complete before removing BBSim device
Change-Id: I9c0e035a380dcc55ef20a2c0ef980f7ede66cc0a
diff --git a/libraries/utils.robot b/libraries/utils.robot
index 359ed4a..38c28d0 100755
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -30,7 +30,7 @@
Check CLI Tools Configured
[Documentation] Tests that use 'voltctl' and 'kubectl' should execute this keyword in suite setup
# check voltctl and kubectl configured
- ${voltctl_rc} ${voltctl_output}= Run And Return Rc And Output voltctl device list
+ ${voltctl_rc} ${voltctl_output}= Run And Return Rc And Output voltctl -c ${VOLTCTL_CONFIG} device list
Log ${voltctl_output}
${kubectl_rc} ${kubectl_output}= Run And Return Rc And Output kubectl get pods
Log ${kubectl_output}
diff --git a/tests/bbsim/Voltha_BBSimTests.robot b/tests/bbsim/Voltha_BBSimTests.robot
index 15769f0..b8083b8 100644
--- a/tests/bbsim/Voltha_BBSimTests.robot
+++ b/tests/bbsim/Voltha_BBSimTests.robot
@@ -176,6 +176,8 @@
Run Keyword If "${workflow}"=="DT" Perform Sanity Test DT
... ELSE IF "${workflow}"=="TT" Perform Sanity Tests TT
... ELSE Perform Sanity Test
+ # wait untill the device is connected again before proceeding
+ Sleep 10
Setup Suite