From c5af90b46edd883953fd50381767b345d70131db Mon Sep 17 00:00:00 2001 From: Peter Thomas Date: Sun, 18 Feb 2024 11:48:13 +0530 Subject: [PATCH] related to discussion in #2474 --- karate-core/src/main/java/com/intuit/karate/Runner.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/karate-core/src/main/java/com/intuit/karate/Runner.java b/karate-core/src/main/java/com/intuit/karate/Runner.java index 7f09a43c3..a8b4fc72d 100644 --- a/karate-core/src/main/java/com/intuit/karate/Runner.java +++ b/karate-core/src/main/java/com/intuit/karate/Runner.java @@ -500,6 +500,9 @@ public Results parallel(int threadCount) { Integer debugPort = getDebugPort(); if (debugPort != null && !debugMode) { String[] args = getDebugArgs(debugPort); + if (systemProperties != null) { + systemProperties.forEach((k, v) -> System.setProperty(k, v)); + } return Main.startDebugServer(args); } Suite suite = new Suite(this);