use of io.vertx.test.core.DetectFileDescriptorLeaks in project vert.x by eclipse.
the class Http2ServerTest method testNetSocketSendFile.
@Test
@DetectFileDescriptorLeaks
public void testNetSocketSendFile() throws Exception {
Buffer expected = Buffer.buffer(TestUtils.randomAlphaString(1000 * 1000));
File tmp = createTempFile(expected);
testNetSocketSendFile(expected, tmp.getAbsolutePath(), 0, expected.length());
}
Aggregations