akka/akka — pull request #1215 by drewhk (2013-02-28 13:51:49+00:00)
Title: Fixed race between async close() and ChannelReadable message in tests #3...

...055

Test did not wait until the effect of remote close() was actually propagated to the other end before enqueueing ChannelReadable, causing a race when the actual close event could not been observed because ChannelReadable was processed before the channel was closed.