Browse code

Merge "Fix hard coded quantum url and port"

Jenkins authored on 2013/02/24 16:04:13
Showing 1 changed files
... ...
@@ -348,7 +348,7 @@ function start_quantum_service_and_check() {
348 348
     # Start the Quantum service
349 349
     screen_it q-svc "cd $QUANTUM_DIR && python $QUANTUM_DIR/bin/quantum-server --config-file $QUANTUM_CONF --config-file /$Q_PLUGIN_CONF_FILE"
350 350
     echo "Waiting for Quantum to start..."
351
-    if ! timeout $SERVICE_TIMEOUT sh -c "while ! http_proxy= wget -q -O- http://127.0.0.1:9696; do sleep 1; done"; then
351
+    if ! timeout $SERVICE_TIMEOUT sh -c "while ! http_proxy= wget -q -O- http://$Q_HOST:$Q_PORT; do sleep 1; done"; then
352 352
       echo "Quantum did not start"
353 353
       exit 1
354 354
     fi