summaryrefslogtreecommitdiffstats
path: root/test/csit/plans/appc/healthcheck/bundle_query.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-27 00:11:58 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-27 00:11:58 +0000
commit82980a3118982599204ff49e28155504e4c6831b (patch)
tree826f3ea2124576d794491d1439daea977e8faf08 /test/csit/plans/appc/healthcheck/bundle_query.sh
parent268557023ea58ac82d20030b8036aad2711ab074 (diff)
parent30a68eb8e28f4eb61f8ad4f4ce13ee0ca3ced645 (diff)
Merge "Update bundle_query APPC CSIT test case"
Diffstat (limited to 'test/csit/plans/appc/healthcheck/bundle_query.sh')
-rwxr-xr-xtest/csit/plans/appc/healthcheck/bundle_query.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csit/plans/appc/healthcheck/bundle_query.sh b/test/csit/plans/appc/healthcheck/bundle_query.sh
index f163ce5c2..45a92ea31 100755
--- a/test/csit/plans/appc/healthcheck/bundle_query.sh
+++ b/test/csit/plans/appc/healthcheck/bundle_query.sh
@@ -24,7 +24,7 @@ failed_bundles=$(docker exec appc_controller_container /opt/opendaylight/current
echo "There are $num_failed_bundles failed bundles out of $num_bundles installed bundles."
-if [ "$num_failed_bundles" -ge 1 ] || [ $num_bundles -le 400 ]; then
+if [ "$num_failed_bundles" -ge 1 ] || [ "$num_bundles" == "" ]; then
echo "There are $num_bundles bundles with $num_failed_bundles in a failed state. "
echo "The following bundle(s) are in a failed state: "
echo " $failed_bundles"