Remove unused NUM_OPENSTACK_SITES 10/75210/1
authorSam Hague <shague@redhat.com>
Wed, 15 Aug 2018 18:20:01 +0000 (14:20 -0400)
committerSam Hague <shague@redhat.com>
Wed, 15 Aug 2018 18:20:01 +0000 (14:20 -0400)
Change-Id: I0ac6fde3e06adfd21e4e2a48238467b8036ab4a8
Signed-off-by: Sam Hague <shague@redhat.com>
jjb/integration/common-functions.sh

index 96dd162b5a24b62668630475f1effded9bc8836f..6cc4af21050ab577da58c3baf44d09000673f488 100644 (file)
@@ -807,7 +807,7 @@ function copy_and_run_post_startup_script() {
         echo "Execute the post startup script on controller ${!CONTROLLERIP}"
         scp ${WORKSPACE}/post-startup-script.sh ${!CONTROLLERIP}:/tmp
         ssh ${!CONTROLLERIP} "bash /tmp/post-startup-script.sh $(( seed_index++ ))"
-        if [ $(( $i % (${NUM_ODL_SYSTEM} / ${NUM_OPENSTACK_SITES}) )) == 0 ]; then
+        if [ $(( $i % ${NUM_ODL_SYSTEM} )) == 0 ]; then
             seed_index=1
         fi
     done