diff --git a/ceilometer/tests/integration/hooks/post_test_hook.sh b/ceilometer/tests/integration/hooks/post_test_hook.sh index fbc69a7e..077e336e 100755 --- a/ceilometer/tests/integration/hooks/post_test_hook.sh +++ b/ceilometer/tests/integration/hooks/post_test_hook.sh @@ -43,7 +43,7 @@ export AODH_SERVICE_URL=$(openstack catalog show alarming -c endpoints -f value export GNOCCHI_SERVICE_URL=$(openstack catalog show metric -c endpoints -f value | awk '/public/{print $2}') export HEAT_SERVICE_URL=$(openstack catalog show orchestration -c endpoints -f value | awk '/public/{print $2}') export NOVA_SERVICE_URL=$(openstack catalog show compute -c endpoints -f value | awk '/public/{print $2}') -export GLANCE_IMAGE_NAME=$(openstack image list | awk '/ cirros.*uec /{print $4}') +export GLANCE_IMAGE_NAME=$(openstack image list | awk '/ cirros.* /{print $4; exit}') export ADMIN_TOKEN=$(openstack token issue -c id -f value) # Run tests