summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xci/03-maasdeploy.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/03-maasdeploy.sh b/ci/03-maasdeploy.sh
index 835e3f71..1e93627e 100755
--- a/ci/03-maasdeploy.sh
+++ b/ci/03-maasdeploy.sh
@@ -463,10 +463,10 @@ addnodes(){
do
sleep 60
- # Make sure that no nodes have failed commissioning
- if [ "$(maas $PROFILE nodes read | grep 'Failed commissioning' )" ];
+ # Make sure that no nodes have failed commissioning or testing
+ if [ "$(maas $PROFILE nodes read | grep 'Failed' )" ];
then
- echo "Error: Some nodes have failed commissioning" 1>&2
+ echo "Error: Some nodes have failed commissioning or testing" 1>&2
exit 1
fi