diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-11-03 10:13:00 +0100 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-11-03 10:13:00 +0100 |
commit | 4893731d9010991c9abc379a894b60da2924a09b (patch) | |
tree | dc73a49f173503e2e47c1791e5523e800d5b2293 | |
parent | 9f86c5ea468d3617f37e8fa34e6171e35650bb88 (diff) | |
download | postgresql-setup-tests-4893731d9010991c9abc379a894b60da2924a09b.tar.gz postgresql-setup-tests-4893731d9010991c9abc379a894b60da2924a09b.tar.xz postgresql-setup-tests-4893731d9010991c9abc379a894b60da2924a09b.zip |
controller/dtf-get-machine: make nova boot fail fatal
* controller/bin/dtf-get-machine.in: Do not try to check for IP
address if 'nova boot' command failed.
-rw-r--r-- | controller/bin/dtf-get-machine.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/controller/bin/dtf-get-machine.in b/controller/bin/dtf-get-machine.in index 6f9873c..54a3253 100644 --- a/controller/bin/dtf-get-machine.in +++ b/controller/bin/dtf-get-machine.in @@ -99,8 +99,7 @@ test -z "$opt_name" && opt_name="testing-$image" info "booting machine $image_version from $image" -machine=$(boot "$opt_name" "$image" "$flavor") +machine=$(boot "$opt_name" "$image" "$flavor") || exit 1 info "machine id: $machine" - get_ip "$machine" |