aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/plans/appc/healthcheck/bundle_query.sh
diff options
context:
space:
mode:
authorHector Anapan-Lavalle <ha076r@att.com>2018-04-16 14:03:53 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-16 14:03:53 +0000
commit5aa81e8ba1385aca7e2e3ac6de3f4675e03e626a (patch)
tree017c2feaf2b39fe584304922bae66ec97262c322 /test/csit/plans/appc/healthcheck/bundle_query.sh
parentd2987da83fc5c81f58c65f46030a8466af72cf26 (diff)
parent32818c887d29aedceebaf4afe466e650e3e793ae (diff)
Merge "Updating APPC CSIT for Nitrogen ODL"
Diffstat (limited to 'test/csit/plans/appc/healthcheck/bundle_query.sh')
-rwxr-xr-xtest/csit/plans/appc/healthcheck/bundle_query.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/csit/plans/appc/healthcheck/bundle_query.sh b/test/csit/plans/appc/healthcheck/bundle_query.sh
index a85bf31c4..3801d0a12 100755
--- a/test/csit/plans/appc/healthcheck/bundle_query.sh
+++ b/test/csit/plans/appc/healthcheck/bundle_query.sh
@@ -18,10 +18,10 @@ SCRIPTS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
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 Failure | wc -l)
-failed_bundles=$(docker exec appc_controller_container /opt/opendaylight/current/bin/client -u karaf bundle:list | grep Failure)
+num_bundles=$(docker exec appc_controller_container /opt/opendaylight/current/bin/client bundle:list | tail -1 | cut -d\| -f1)
+#num_failed_bundles=$(docker exec appc_controller_container /opt/opendaylight/current/bin/client bundle:list | grep Failure | wc -l)
+num_failed_bundles=$(docker exec appc_controller_container /opt/opendaylight/current/bin/client bundle:list | grep Failure | wc -l)
+failed_bundles=$(docker exec appc_controller_container /opt/opendaylight/current/bin/client bundle:list | grep Failure)
echo "There are $num_failed_bundles failed bundles out of $num_bundles installed bundles."