From 34ea09e5524fa9da4f482822bf7b1a16ef69731f Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Tue, 14 Feb 2017 08:17:33 +0100 Subject: [PATCH] Add missing assumeTrue(...) that were not added in 54339c08ac8dbba2ad72216293ad6d2eaa931314 --- .../test/java/io/netty/buffer/PooledByteBufAllocatorTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java b/buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java index d4048963e8..d97339e12a 100644 --- a/buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java +++ b/buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java @@ -55,6 +55,7 @@ public class PooledByteBufAllocatorTest extends AbstractByteBufAllocatorTest { @Test public void testArenaMetricsNoCacheAlign() { + Assume.assumeTrue(PooledByteBufAllocator.isDirectMemoryCacheAlignmentSupported()); testArenaMetrics0(new PooledByteBufAllocator(true, 2, 2, 8192, 11, 0, 0, 0, true, 64), 100, 0, 100, 100); }