[VOL-2410] make testcase runable in bbsim environment
Change-Id: I22b88b5613508a9f25b384d81aa3c5f317ce9d45
diff --git a/tests/functional/Voltha_PODTests.robot b/tests/functional/Voltha_PODTests.robot
index 9333349..c728747 100644
--- a/tests/functional/Voltha_PODTests.robot
+++ b/tests/functional/Voltha_PODTests.robot
@@ -92,7 +92,8 @@
Wait Until Keyword Succeeds ${timeout} 5s Validate Device ENABLED DISCOVERED
... UNREACHABLE ${src['onu']} onu=false
#Verify that ping fails
- Run Keyword And Continue On Failure Wait Until Keyword Succeeds 60s 2s
+ Run Keyword If ${has_dataplane}
+ ... Run Keyword And Continue On Failure Wait Until Keyword Succeeds 60s 2s
... Check Ping False ${dst['dp_iface_ip_qinq']} ${src['dp_iface_name']}
... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']}}
END
@@ -111,7 +112,8 @@
Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 2s
... Validate Subscriber DHCP Allocation ${k8s_node_ip} ${ONOS_SSH_PORT} ${onu_port}
#Verify that ping workss fine again
- Run Keyword And Continue On Failure Wait Until Keyword Succeeds 60s 2s
+ Run Keyword If ${has_dataplane}
+ ... Run Keyword And Continue On Failure Wait Until Keyword Succeeds 60s 2s
... Check Ping True ${dst['dp_iface_ip_qinq']} ${src['dp_iface_name']}
... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']}}
Run Keyword and Ignore Error Collect Logs