//So Blog is working properly, let's quiesce it, we would expect to get a JPA and a Blueprint
//participant
QuiesceManager quiesceMgr = getOsgiService(QuiesceManager.class);
List<Bundle> bundleList = new ArrayList<Bundle>();
bundleList.add(bapi);
quiesceMgr.quiesce(500,bundleList);
Thread.sleep(1000);
//blog api bundle should now be stopped, but others should still be running
assertTrue("Blog api bundle should have been quiesced, but it's state is "+bapi.getState(), bapi.getState() != bapi.ACTIVE);
assertEquals(bweb.ACTIVE, bweb.getState());
assertEquals(bbiz.ACTIVE, bbiz.getState());
assertEquals(bper.ACTIVE, bper.getState());
bundleList.add(bweb);
bundleList.add(bbiz);
bundleList.add(bper);
quiesceMgr.quiesce(500,bundleList);
Thread.sleep(1000);
//all blog bundles should now be stopped
assertTrue("Blog api bundle should have been quiesced, but it's state is "+bapi.getState(), bapi.getState() != bapi.ACTIVE);
assertTrue("Blog web bundle should have been quiesced, but it's state is "+bweb.getState(), bweb.getState() != bweb.ACTIVE);