Expect more hosts in ONOS than specified in POD deployment config file
Change-Id: I98d9bf54052fa0edd1403a54cd4226a1fa3db206
diff --git a/Jenkinsfile.newBuildSystem b/Jenkinsfile.newBuildSystem
index 3f2f298..9e113e1 100644
--- a/Jenkinsfile.newBuildSystem
+++ b/Jenkinsfile.newBuildSystem
@@ -469,7 +469,7 @@
waitUntil {
try {
num = runHeadNodeCmd("\"sshpass -p rocks ssh -q -oStrictHostKeyChecking=no -l onos -p 8101 onos-fabric hosts | grep id= | wc -l\"").trim()
- return num.toInteger() == deployment_config.compute_nodes.size()
+ return num.toInteger() >= deployment_config.compute_nodes.size()
} catch (exception) {
return false
}