fix race condition in test
This commit is contained in:
parent
206dc2a391
commit
51fa795819
@ -82,7 +82,7 @@ public class ReentrantChannelTest extends BaseChannelTest {
|
|||||||
|
|
||||||
assertTrue(clientChannel.isWritable());
|
assertTrue(clientChannel.isWritable());
|
||||||
clientChannel.write(createTestBuf(2000)).sync();
|
clientChannel.write(createTestBuf(2000)).sync();
|
||||||
assertTrue(clientChannel.isWritable());
|
clientChannel.close().sync();
|
||||||
|
|
||||||
assertLog(
|
assertLog(
|
||||||
"WRITE\n" +
|
"WRITE\n" +
|
||||||
|
Loading…
Reference in New Issue
Block a user