Add a small delay between when the port-forward is created and when the test starts
Change-Id: I3ab7738be0f1ed6d622fb2e69b364c08b0131702
diff --git a/jjb/pipeline/voltha/master/voltha-scale-multi-stack.groovy b/jjb/pipeline/voltha/master/voltha-scale-multi-stack.groovy
index 3c02c4e..ef09ef0 100644
--- a/jjb/pipeline/voltha/master/voltha-scale-multi-stack.groovy
+++ b/jjb/pipeline/voltha/master/voltha-scale-multi-stack.groovy
@@ -129,7 +129,7 @@
"--set global.log_level=${logLevel} " +
"--set radius.enabled=${withEapol} " +
"--set onos-classic.onosSshPort=30115 " +
- "--set onos-classic.onosApiPort=30120 " +
+ "--set onos-classic.onosApiPort=30120 " +
params.extraHelmFlags
volthaInfraDeploy([
@@ -414,6 +414,9 @@
# _TAG=voltha-port-forward kubectl port-forward --address 0.0.0.0 -n voltha${i} svc/voltha${i}-voltha-api 55555:55555& > /dev/null 2>&1
_TAG="voltha-port-forward" bash -c "while true; do kubectl port-forward --address 0.0.0.0 -n voltha${i} svc/voltha${i}-voltha-api 55555:55555 > /dev/null 2>&1; done"&
+ # wait a bit to make sure the port-forwarding has started
+ sleep 5
+
ROBOT_PARAMS="-v stackId:${i} \
-v olt:${olts} \