use of net.spy.memcached.MemcachedClientIF in project ignite by apache.
the class ClientMemcachedProtocolSelfTest method testCustomPort.
/**
* @throws Exception If failed.
*/
@Test
public void testCustomPort() throws Exception {
customPort = 11212;
Ignite g = startGrid();
assert g != null;
assert g.cluster().nodes().size() == gridCount() + 1;
MemcachedClientIF c = startClient();
Assert.assertTrue(c.set("key", 0, 1).get());
Assert.assertEquals(1, c.get("key"));
c.shutdown();
stopGrid();
}
Aggregations