use of alluxio.hub.manager.process.ManagerProcessContext in project alluxio by Alluxio.
the class ManagerRpcServerTest method testSimpleStartup.
@Test
public void testSimpleStartup() throws Exception {
ManagerProcessContext ctx = getTestManagerContext();
ManagerRpcServer server = new ManagerRpcServer(getTestConfig(), ctx);
// Server is running if assigned port is != 0
assertTrue(server.isServing());
assertTrue(server.getPort() != 0);
}
Aggregations