Updating APPC CSIT bundle_check 47/31747/1
authorAaron Hay <ah415j@att.com>
Wed, 14 Feb 2018 17:51:10 +0000 (17:51 +0000)
committerAaron Hay <ah415j@att.com>
Wed, 14 Feb 2018 17:52:38 +0000 (17:52 +0000)
Enabling bundle_check for the Beijing release (master).

Change-Id: I8b784f4740cd968d1d16978f366030d4c1c5842b
Issue-ID: APPC-410
Signed-off-by: Aaron Hay <ah415j@att.com>
test/csit/plans/appc/healthcheck/bundle_query.sh

index 5b1a99d..a85bf31 100755 (executable)
@@ -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."