netty5/transport-native-kqueue/src/test/java/io/netty/channel/kqueue
Norman Maurer 2f8fe2af01 Only try to deregister from EventLoop when the native Channel was registered before.
Motivation:

We only can call eventLoop() if we are registered on an EventLoop yet. As we just did this without checking we spammed the log with an error that was harmless.

Modifications:

Check if registered on eventLoop before try to deregister on close.

Result:

Fixes [#6770]
2017-05-24 13:19:18 +02:00
..
KQueueAbstractDomainSocketEchoTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueChannelConfigTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueDatagramUnicastTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueDomainSocketEchoTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueDomainSocketFdTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueDomainSocketFileRegionTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueDomainSocketFixedLengthEchoTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueDomainSocketGatheringWriteTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueDomainSocketObjectEchoTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueDomainSocketSslEchoTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueDomainSocketSslGreetingTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueDomainSocketStartTlsTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueDomainSocketStringEchoTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueETSocketAutoReadTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueETSocketExceptionHandlingTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueETSocketHalfClosedTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueETSocketReadPendingTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueRcvAllocatorOverrideSocketSslEchoTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueServerSocketChannelConfigTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketChannelConfigTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketChannelNotYetConnectedTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketCloseForciblyTest.java Only try to deregister from EventLoop when the native Channel was registered before. 2017-05-24 13:19:18 +02:00
KQueueSocketConnectionAttemptTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketConnectTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketEchoTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketFileRegionTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketFixedLengthEchoTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketGatheringWriteTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketMultipleConnectTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketObjectEchoTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketRstTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketShutdownOutputByPeerTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketShutdownOutputBySelfTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketSslEchoTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketSslGreetingTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketStartTlsTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketStringEchoTest.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
KQueueSocketTest.java KQueueSocket#setTrafficClass exceptions 2017-05-18 11:26:27 -07:00
KQueueSocketTestPermutation.java New native transport for kqueue 2017-05-03 09:53:22 -07:00