From 2bb717f6854b804c4fbcfb6b14c8f9943f4c6ae0 Mon Sep 17 00:00:00 2001 From: He-Pin Date: Sun, 29 Dec 2024 03:04:19 +0800 Subject: [PATCH] chore: Add netty leak detector in multi-node-testing. --- project/SbtMultiJvmPlugin.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project/SbtMultiJvmPlugin.scala b/project/SbtMultiJvmPlugin.scala index 7f270ae0c03..a374524399c 100644 --- a/project/SbtMultiJvmPlugin.scala +++ b/project/SbtMultiJvmPlugin.scala @@ -561,7 +561,8 @@ object MultiJvmPlugin extends AutoPlugin { "-Dmultinode.max-nodes=" + maxNodes, "-Dmultinode.server-host=" + hosts.head.split("@").last, "-Dmultinode.host=" + hosts(index).split("@").last, - "-Dmultinode.index=" + index) + "-Dmultinode.index=" + index, + "-Dio.netty.leakDetection.level=PARANOID") } private def processMultiNodeHosts(