.println("-------------- testDisableOnInitializationFailureWithDelegateBrokerMissing() -------------");
System.out
.println("---------------------- The Uima Client Times Out After 20 seconds --------------------------");
System.out
.println("-- The test requires 1 minute to complete due to 60 second delay in Spring Listener ----");
BaseUIMAAsynchronousEngine_impl eeUimaEngine = new BaseUIMAAsynchronousEngine_impl();
try {
// Deploy remote service
deployService(eeUimaEngine, relativePath + "/Deploy_NoOpAnnotator.xml");
// Deploy top level aggregate that communicates with the remote via Http Tunnelling
deployService(eeUimaEngine, relativePath + "/Deploy_AggregateAnnotatorWithHttpDelegate.xml");
// Initialize and run the Test. Wait for a completion and cleanup resources.
Map<String, Object> appCtx = new HashMap();
appCtx.put(UimaAsynchronousEngine.ServerUri, String.valueOf(broker.getMasterConnectorURI()));
appCtx.put(UimaAsynchronousEngine.Endpoint, "TopLevelTaeQueue");
appCtx.put(UimaAsynchronousEngine.GetMetaTimeout, 20000);
runTest(appCtx, eeUimaEngine, String.valueOf(broker.getMasterConnectorURI()),
"TopLevelTaeQueue", 1, PROCESS_LATCH);
} catch (Exception e) {
fail("Expected Success. Instead Received Exception:" + e.getClass());
} finally {
eeUimaEngine.stop();
}
}