93949596979899100101102103
sendDisconnectDueToSessionExpiry(httpServletResponse.getOutputStream()); return; } queue.heartBeat(); queue.poll(wait, httpServletResponse.getOutputStream()); httpServletResponse.getOutputStream().close(); }
173174175176177178179180181182183
// run some test operations ReusableBuffer result = testClient.chunk(fileName, offsetStart, offsetEnd).get(); assertEquals(chunkResult, new String(result.array())); testClient.heartbeat(lsn, port).get(); } /** * @throws Exception */