Updated voltha components software upgrade tests with static sleeps between operations
Change-Id: Id2906a1b6b06a12bee42cf24b77e97ef23d21225
diff --git a/tests/software-upgrades/Voltha_ComponentsUpgrade.robot b/tests/software-upgrades/Voltha_ComponentsUpgrade.robot
index 1058f0b..2948395 100755
--- a/tests/software-upgrades/Voltha_ComponentsUpgrade.robot
+++ b/tests/software-upgrades/Voltha_ComponentsUpgrade.robot
@@ -107,6 +107,8 @@
... ${NAMESPACE} app ${label}
Log ${label}: image, app ver & helm chart after upgrade: ${pod_image_1}, ${app_ver_1} & ${helm_chart_1}
Restart VOLTHA Port Forward voltha-api
+ # Static sleep to let voltctl tcp connection establish
+ Sleep 5s
Wait Until Keyword Succeeds ${timeout} 2s Perform Sanity Test ${suppressaddsubscriber}
END
${podStatusOutput}= Run kubectl get pods -n ${NAMESPACE}
@@ -182,7 +184,7 @@
Wait Until Keyword Succeeds ${timeout} 15s Deploy Pod New Image ${NAMESPACE} ${deployment}
... ${container} ${image}
# Static sleep to let image-update progress before initiating subscriber-add system-operation
- Sleep 2s
+ Sleep 10s
Provision Subscribers
Wait Until Keyword Succeeds ${timeout} 3s Validate Pods Status By Label ${NAMESPACE}
... app ${label} Running