I am trying to do junit testing using maven based surefire testing and AbstractConfigurableBundleCreatorTests class for springDM based web application.
How to know if the war bundle is Successfully deployed?
you could probably utilise the BundleListener somehow to listen to the status of your bundle. add the listener to the bundleContext.