Decoupling horizon from glance testing

The hard-coded image location glance is currently using to download
an image from in Horizon is now configurable. This will use a more
reliable hard-coded URL. This allows Horizon's root URL to change.

Change-Id: Ifb8e2febf41c933145605287f515ffeaedc36fdc
This commit is contained in:
David Lyle
2015-08-03 12:35:36 -06:00
parent 5a9565c8f7
commit 4b17eb4328

View File

@@ -313,9 +313,9 @@ EOF
# in parallel run.
echo "VOLUME_BACKING_FILE_SIZE=24G" >> "$localrc_file"
# in order to ensure glance http tests don't time out, we
# specify the TEMPEST_HTTP_IMAGE address to be horrizon's
# front page. Kind of hacky, but it works.
echo "TEMPEST_HTTP_IMAGE=http://127.0.0.1/static/dashboard/img/favicon.ico" >> "$localrc_file"
# specify the TEMPEST_HTTP_IMAGE address that's in infra on a
# service we need to be up for anything to work anyway.
echo "TEMPEST_HTTP_IMAGE=http://git.openstack.org/static/openstack.png" >> "$localrc_file"
fi
if [[ "$DEVSTACK_GATE_TEMPEST_DISABLE_TENANT_ISOLATION" -eq "1" ]]; then