netty5/buffer
Norman Maurer c6edc3709e [#5227] Fix race-condition in PooledByteBufAllocatorTest
Motivation:

PooledByteBufAllocatorTest.testNumThreadCachesWithNoDirrectArenas() had a race as it just used LockSupport.parkNanos(). We should better use a CountdownLatch and so be sure we really have init everything.

Modifications:

Replace LockSupport.parkNanos(...) with CountdownLatch usage

Result:

No more race in test.
2016-05-13 08:54:46 +02:00
..
src [#5227] Fix race-condition in PooledByteBufAllocatorTest 2016-05-13 08:54:46 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2016-04-04 16:53:40 +02:00