netty5/codec-http2/src
Scott Mitchell cc8140b41c HTTP/2 unit test failure race condition
Motivation:
HttpToHttp2ConnectionHandler is awaiting on a future and a latch that may be competed before the buffers actually get released.  This test is attempting to validate that the buffer's refCnt() is 0 but there is no mechanism to wait on for a buffer's release() method to be called.

Modifications:
Remove the buffer refCnt() check.  The leak profile is designed to pick these up.

Result:
Unit tests that no longer have a race condition.
2014-12-12 14:44:38 -05:00
..
main/java/io/netty/handler/codec/http2 HTTP/2 Draft 16 2014-12-11 18:58:59 -05:00
test/java/io/netty/handler/codec/http2 HTTP/2 unit test failure race condition 2014-12-12 14:44:38 -05:00