Fix race condition for AsynchronousFileChannel

This commit fixes an issue in the DataBufferUtils.write variant that
takes a AsynchronousFileChannel.

Issue: SPR-15798
This commit is contained in:
Arjen Poutsma
2017-07-25 16:37:11 +02:00
parent d904e9ed50
commit d5da823482
2 changed files with 12 additions and 7 deletions

View File

@@ -207,7 +207,6 @@ public class DataBufferUtilsTests extends AbstractDataBufferAllocatingTestCase {
}
@Test
@Ignore // SPR-15798
public void writeAsynchronousFileChannel() throws Exception {
DataBuffer foo = stringBuffer("foo");
DataBuffer bar = stringBuffer("bar");