aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-02-14 23:38:14 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-14 23:38:14 +0000
commit06de16ad21868809e1b96d15962f4cd3db1ee1f6 (patch)
tree7665283032002224dda20e841697221a5066fe9f
parent9603d318ad6daa501f1fa42b44aa5e576e9d7383 (diff)
parentda9d04e9b80e359090e136d4b7d17696d6f21905 (diff)
Merge "Updating APPC CSIT bundle_check"
-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 5b1a99da4..a85bf31c4 100755
--- a/test/csit/plans/appc/healthcheck/bundle_query.sh
+++ b/test/csit/plans/appc/healthcheck/bundle_query.sh
@@ -20,7 +20,7 @@ echo $SCRIPTS
num_bundles=$(docker exec appc_controller_container /opt/opendaylight/current/bin/client -u karaf bundle:list | tail -1 | cut -d\| -f1)
#num_failed_bundles=$(docker exec appc_controller_container /opt/opendaylight/current/bin/client -u karaf bundle:list | grep Failure | wc -l)
-num_failed_bundles=$(docker exec appc_controller_container /opt/opendaylight/current/bin/client -u karaf bundle:list | grep Nothing | wc -l)
+num_failed_bundles=$(docker exec appc_controller_container /opt/opendaylight/current/bin/client -u karaf bundle:list | grep Failure | wc -l)
failed_bundles=$(docker exec appc_controller_container /opt/opendaylight/current/bin/client -u karaf bundle:list | grep Failure)
echo "There are $num_failed_bundles failed bundles out of $num_bundles installed bundles."