[VOL-2822] Run rwcore restart test as part of nightly regression
Change-Id: Ie8efbd7c3acf8cf188af0b7ae7d1db52fe43c28c
diff --git a/tests/functional/Voltha_FailureScenarios.robot b/tests/functional/Voltha_FailureScenarios.robot
index a25ee0e..c9cfaa0 100644
--- a/tests/functional/Voltha_FailureScenarios.robot
+++ b/tests/functional/Voltha_FailureScenarios.robot
@@ -363,6 +363,11 @@
... AND Stop Logging ofagentRestart
... AND Announce Message END TEST ofagentRestart
... AND Scale K8s Deployment ${NAMESPACE} voltha-ofagent 1
+ # Add OLT and perform sanity test
+ setup
+ Run Keyword If ${has_dataplane} Clean Up Linux
+ Wait Until Keyword Succeeds ${timeout} 2s Perform Sanity Test
+ # set timeout value
${waitforRestart} Set Variable 120s
${podStatusOutput}= Run kubectl get pods -n ${NAMESPACE}
Log ${podStatusOutput}