@Override public void setUp() throws Exception { super.setUp(); socketService = ServerTestUtils.getSocketService( getClusterXml(), getStoreDefXml(), getValidStoreName(), getLocalNode().getSocketPort()); socketService.start(); }
@Override @Before public void setUp() throws Exception { super.setUp(); context = ServerTestUtils.getJettyServer( getClusterXml(), getStoreDefXml(), getValidStoreName(), RequestFormatType.VOLDEMORT_V1, getLocalNode().getHttpPort()); server = context.getServer(); httpStore = ServerTestUtils.getHttpStore( getValidStoreName(), RequestFormatType.VOLDEMORT_V1, getLocalNode().getHttpPort()); url = getLocalNode().getHttpUrl().toString(); }
@Override public void tearDown() throws Exception { super.tearDown(); socketService.stop(); }