Search in sources :

Example 1 with ManagerProcessContext

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);
}
Also used : ManagerProcessContext(alluxio.hub.manager.process.ManagerProcessContext) Test(org.junit.Test) BaseHubTest(alluxio.hub.test.BaseHubTest)

Aggregations

ManagerProcessContext (alluxio.hub.manager.process.ManagerProcessContext)1 BaseHubTest (alluxio.hub.test.BaseHubTest)1 Test (org.junit.Test)1