From 5cadb716bc9125b2285bf476e0029ad126531eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rg=20Prante?= Date: Thu, 8 Mar 2018 16:12:28 +0100 Subject: [PATCH] set leak detector to paranoid --- src/main/java/org/xbib/netty/http/client/Client.java | 2 +- .../org/xbib/netty/http/client/test/simple/SimpleHttp1Test.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/xbib/netty/http/client/Client.java b/src/main/java/org/xbib/netty/http/client/Client.java index e5efefa..f0dca21 100644 --- a/src/main/java/org/xbib/netty/http/client/Client.java +++ b/src/main/java/org/xbib/netty/http/client/Client.java @@ -75,7 +75,7 @@ public final class Client { System.setProperty("io.netty.recycler.maxCapacity", Integer.toString(0)); } if (System.getProperty("io.netty.leakDetection.level") == null) { - System.setProperty("io.netty.leakDetection.level", "advanced"); + System.setProperty("io.netty.leakDetection.level", "paranoid"); } } diff --git a/src/test/java/org/xbib/netty/http/client/test/simple/SimpleHttp1Test.java b/src/test/java/org/xbib/netty/http/client/test/simple/SimpleHttp1Test.java index f877891..15d75b5 100644 --- a/src/test/java/org/xbib/netty/http/client/test/simple/SimpleHttp1Test.java +++ b/src/test/java/org/xbib/netty/http/client/test/simple/SimpleHttp1Test.java @@ -46,7 +46,7 @@ public class SimpleHttp1Test { private static final Logger logger = Logger.getLogger(SimpleHttp1Test.class.getName()); static { - System.setProperty("io.netty.leakDetection.level", "advanced"); + System.setProperty("io.netty.leakDetection.level", "paranoid"); System.setProperty("io.netty.noKeySetOptimization", Boolean.toString(true)); System.setProperty("java.util.logging.SimpleFormatter.format",