Added has_dataplane check for ping results in voltha components restart scenarios for DT
Change-Id: I32fcf557737dff462a276fc7dd7dba3b38c9a653
diff --git a/tests/dt-workflow/Voltha_DT_FailureScenarios.robot b/tests/dt-workflow/Voltha_DT_FailureScenarios.robot
index 9417b8a..9ca44d3 100755
--- a/tests/dt-workflow/Voltha_DT_FailureScenarios.robot
+++ b/tests/dt-workflow/Voltha_DT_FailureScenarios.robot
@@ -614,7 +614,7 @@
... Wait Until Keyword Succeeds ${timeout} 2s
... Retrieve Remote File Contents ${ping_output_file} ${src['ip']} ${src['user']} ${src['pass']}
... ${src['container_type']} ${src['container_name']}
- Check Ping Result True ${ping_output}
+ Run Keyword If ${has_dataplane} Check Ping Result True ${ping_output}
END
# Verify Control Plane Functionality by Deleting and Re-adding the Subscriber
Verify Control Plane After Pod Restart DT
@@ -670,7 +670,7 @@
... Wait Until Keyword Succeeds ${timeout} 2s
... Retrieve Remote File Contents ${ping_output_file} ${src['ip']} ${src['user']} ${src['pass']}
... ${src['container_type']} ${src['container_name']}
- Check Ping Result True ${ping_output}
+ Run Keyword If ${has_dataplane} Check Ping Result True ${ping_output}
END
# Verify Control Plane Functionality by Deleting and Re-adding the Subscriber
Verify Control Plane After Pod Restart DT
@@ -729,7 +729,7 @@
... Wait Until Keyword Succeeds ${timeout} 2s
... Retrieve Remote File Contents ${ping_output_file} ${src['ip']} ${src['user']} ${src['pass']}
... ${src['container_type']} ${src['container_name']}
- Check Ping Result True ${ping_output}
+ Run Keyword If ${has_dataplane} Check Ping Result True ${ping_output}
END
# Verify Control Plane Functionality by Deleting and Re-adding the Subscriber
Verify Control Plane After Pod Restart DT