From 90be8207c56bf85c6c6a97a543fff97413e9874b Mon Sep 17 00:00:00 2001 From: Yechiel Kalmenson Date: Tue, 29 Jun 2021 09:14:35 -0400 Subject: [PATCH 1/2] Set startStopTimeout to be configurable --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index be6a5a13a84..c52649a663b 100644 --- a/build.gradle +++ b/build.gradle @@ -170,7 +170,7 @@ cargo { local { configHomeDir = file(Paths.get(System.getProperty("java.io.tmpdir") + "/uaa-${applicationPort}")) - startStopTimeout = 540000 + startStopTimeout = System.getProperty("startStopTimeout", "540000") rmiPort = applicationPort + 10 jvmArgs = "" From 0125e4193136d1935bb2156645dcbab2561983c6 Mon Sep 17 00:00:00 2001 From: Yechiel Kalmenson Date: Tue, 29 Jun 2021 10:51:22 -0400 Subject: [PATCH 2/2] Convert timeout argument to int --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c52649a663b..1a46c5ba346 100644 --- a/build.gradle +++ b/build.gradle @@ -170,7 +170,7 @@ cargo { local { configHomeDir = file(Paths.get(System.getProperty("java.io.tmpdir") + "/uaa-${applicationPort}")) - startStopTimeout = System.getProperty("startStopTimeout", "540000") + startStopTimeout = Integer.parseInt(System.getProperty("startStopTimeout", "540000")) rmiPort = applicationPort + 10 jvmArgs = ""