BeanManager beanManager = null;
while (beanManager == null) {
beanManager = (BeanManager) bootUtil.getContext().getProperties().get(CdiMicroserviceProvider.BEAN_MANAGER);
Thread.sleep(200);
}
<BUG>Assert.assertTrue(semaphore.tryAcquire(1, TimeUnit.MINUTES), "Timed-out while waiting for platform startup.");
</BUG>
Assert.assertEquals(result, "specialspecial");
platform.interrupt();
platform.join();

BeanManager beanManager = null;
while (beanManager == null) {
beanManager = (BeanManager) bootUtil.getContext().getProperties().get(CdiMicroserviceProvider.BEAN_MANAGER);
Thread.sleep(200);
}
Assert.assertTrue(semaphore.tryAcquire(10, TimeUnit.MINUTES), "Timed-out while waiting for platform startup.");
Assert.assertEquals(result, "specialspecial");
platform.interrupt();
platform.join();
