From 985281fd00aa490df937ed1b93ec860d878574be Mon Sep 17 00:00:00 2001 From: nik Date: Tue, 17 Feb 2015 09:54:13 +0300 Subject: [PATCH] enabled leak detection for Netty in tests --- build/scripts/utils.gant | 1 + 1 file changed, 1 insertion(+) diff --git a/build/scripts/utils.gant b/build/scripts/utils.gant index 43e3dc825cd1..2e68258aad9e 100644 --- a/build/scripts/utils.gant +++ b/build/scripts/utils.gant @@ -248,6 +248,7 @@ binding.setVariable("commonJvmArgsForTests", { if (debugPort != null) jdwp += ",address=$debugPort" return [ "-ea", + "-Dio.netty.leakDetectionLevel=PARANOID", "-server", "-Xbootclasspath/p:${projectBuilder.moduleOutput(findModule("boot"))}", "-XX:+HeapDumpOnOutOfMemoryError",