@Test @Ignore("Ignore it until it's fixed in order not to brake the build") public void testImplementInAdvancedZoneOnXenServer() throws Exception { virtualRouterElement._routerMgr = _routerMgr; mockDAOs(testNetwork, testOffering); mockMgrs(); final boolean done = virtualRouterElement.implement(testNetwork, testOffering, testDestination, testContext); assertTrue("no cigar for network daddy", done); }
@Test @Ignore("Ignore it until it's fixed in order not to brake the build") public void testPrepare() { virtualRouterElement._routerMgr = _routerMgr; virtualRouterElement.routerDeploymentDefinitionBuilder = routerDeploymentDefinitionBuilder; mockDAOs(testNetwork, testOffering); mockMgrs(); boolean done = false; try { done = virtualRouterElement.prepare( testNetwork, testNicProfile, testVMProfile, testDestination, testContext); } catch (ConcurrentOperationException | InsufficientCapacityException | ResourceUnavailableException e) { // TODO Auto-generated catch block e.printStackTrace(); } assertTrue("can not even start to create a router", done); }