Simple Sanity Test to validate that all the bundles in a distribution are active... 14/1614/3
authorMoiz Raja <moraja@cisco.com>
Wed, 2 Oct 2013 17:43:54 +0000 (10:43 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 2 Oct 2013 20:00:25 +0000 (20:00 +0000)
The idea behind the Sanity Test is to ultimately fail a build when the test fails. The test would
launch run.sh but with a slightly modified config.ini where the sanitytest bundle would be injected
as a framework bundle.

The test waits for 30 seconds for the container to finish loading all the bundles. It then gets all the
bundles from the BundleContext and checks if they are ACTIVE or RESOLVED. If they are neither it prints
out the name of the bundle and it's state and returns an error code.

Change-Id: Ia6905318f1cf63e852791ba107193094a83fddf1
Signed-off-by: Moiz Raja <moraja@cisco.com>

No differences found