Add OLT before doing tests in ofagent restart tests for TT workflow
Change-Id: Ica714e5870dd1d38ff95f500b058e93efe669ad0
diff --git a/tests/tt-workflow/Voltha_TT_FailureScenarios.robot b/tests/tt-workflow/Voltha_TT_FailureScenarios.robot
index f1f425e..d00ed46 100755
--- a/tests/tt-workflow/Voltha_TT_FailureScenarios.robot
+++ b/tests/tt-workflow/Voltha_TT_FailureScenarios.robot
@@ -320,6 +320,9 @@
[Teardown] Run Keywords Collect Logs
... AND Stop Logging ofagentRestart-TT
... AND Scale K8s Deployment ${NAMESPACE} ${STACK_NAME}-voltha-ofagent 1
+ # Add OLT device
+ Setup
+ Run Keyword If ${has_dataplane} Clean Up Linux
# set timeout value
${waitforRestart} Set Variable 120s
${podStatusOutput}= Run kubectl get pods -n ${NAMESPACE}