fixing bugs in hippieossinstance test case
Change-Id: I411afd8e1989754d58fc32a3d7549b1c23d95fe3
diff --git a/Jenkinsfile-rcordlite-zerotouch b/Jenkinsfile-rcordlite-zerotouch
index 68ac580..8c2b79d 100644
--- a/Jenkinsfile-rcordlite-zerotouch
+++ b/Jenkinsfile-rcordlite-zerotouch
@@ -206,7 +206,7 @@
export KUBECONFIG=/home/cord/${deployment_config.pod_config}
cd /home/cord/cord-tester/src/test/cord-api/Tests/
pybot -d Log -T HippieOSS_instances.txt || true
- pybot -d Log -T -v src_ip:${deployment_config.srcHost.ip} -v src_user:${deployment_config.srcHost.user} -v src_pass:${deployment_config.srcHost.pass} -v dst_user:${deployment_config.dstHost.user} -v dst_pass:${deployment_config.dstHost.pass} -v dst_ip:${deployment_config.dstHost.ip} -v dst_host_ip:${deployment_config.dstHost.hostIp} -v src_gateway:${deployment_config.srcHost.gateway} -v dst_gateway:${deployment_config.dstHost.gateway} -v init_state:awaiting-auth -v ENABLE_STATUS:FAIL -v MACIP_STATUS:PASS Subscriber_StatusChecks.txt || true
+ pybot -d Log -T -v src_ip:${deployment_config.srcHost.ip} -v src_user:${deployment_config.srcHost.user} -v src_pass:${deployment_config.srcHost.pass} -v dst_user:${deployment_config.dstHost.user} -v dst_pass:${deployment_config.dstHost.pass} -v dst_ip:${deployment_config.dstHost.ip} -v dst_host_ip:${deployment_config.dstHost.hostIp} -v src_gateway:${deployment_config.srcHost.gateway} -v dst_gateway:${deployment_config.dstHost.gateway} -v init_state:awaiting-auth -v INITIAL_STATUS:FAIL -v ENABLE_STATUS:FAIL -v MACIP_STATUS:PASS Subscriber_StatusChecks.txt || true
"""
} catch(error) { currentBuild.result = 'FAILURE' }
}
diff --git a/src/test/cord-api/Tests/HippieOSS_instances.txt b/src/test/cord-api/Tests/HippieOSS_instances.txt
index b2c8d1a..9b178a1 100644
--- a/src/test/cord-api/Tests/HippieOSS_instances.txt
+++ b/src/test/cord-api/Tests/HippieOSS_instances.txt
@@ -32,9 +32,10 @@
[Arguments] ${listIndex}
Set Global Variable ${HippieOSS_Id} ${EMPTY}
Log ${HippieOSS_Id}
- Wait Until Keyword Succeeds 600s 10s Validate Subscriber Synced
+ Wait Until Keyword Succeeds 600s 10s Validate Subscriber Synced ${listIndex}
Validate Subscriber Synced
+ [Arguments] ${listIndex}
${json_result}= restApi.ApiGet OSS_SERVICEINSTANCE
Log ${json_result}
${SubscriberList} = Get Variable Value ${slist}