netty5/transport/src/test/java/io/netty/channel/local
Norman Maurer 095dadcbec
Fix race in ChannelReadHandler used during LocalChannel testing. (#7904)
Motivation:

ChannelReadHandler is used in tests added via f4d7e8de14. In the handler we verify the number of messages we receive per read() call but missed to sometimes reset the counter which resulted in exceptions.

Modifications:

Correctly reset read counter in all cases.

Result:

No more unexpected exceptions when running LocalChannel tests.
2018-05-04 07:36:33 +02:00
..
LocalChannelTest.java Fix race in ChannelReadHandler used during LocalChannel testing. (#7904) 2018-05-04 07:36:33 +02:00
LocalTransportThreadModelTest.java Synchronized between 4.1 and master again (part 2) 2014-04-25 15:06:26 +09:00
LocalTransportThreadModelTest2.java fix the typos 2017-04-20 04:56:09 +02:00
LocalTransportThreadModelTest3.java Replace LocalEventLoopGroup with DefaultEventLoopGroup 2014-03-24 11:39:55 +09:00