From ad360fb2f2bcb8d80c92c2c3e9858bce0b2b067b Mon Sep 17 00:00:00 2001 From: Louis Bergelson Date: Wed, 14 Aug 2019 13:29:45 -0400 Subject: [PATCH 1/3] Restart test jvm every few test classes * Adding forkEvery 5 to cause the test jvm to be restarted every few test classes. * This might fix a theoretical memory leak causing our builds to fail often. --- testsettings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsettings.gradle b/testsettings.gradle index 259e3788fed..423040bb16a 100644 --- a/testsettings.gradle +++ b/testsettings.gradle @@ -9,7 +9,7 @@ tasks.withType(Test) { * anything else : run the non-cloud tests */ String TEST_TYPE = "$System.env.TEST_TYPE" - + forkEvery 5 useTestNG { if (TEST_TYPE == "cloud") { // run only the cloud tests From 39754968c359670a28c2264f4e979679c41a4327 Mon Sep 17 00:00:00 2001 From: Louis Bergelson Date: Wed, 14 Aug 2019 15:00:54 -0400 Subject: [PATCH 2/3] test with 50 --- testsettings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsettings.gradle b/testsettings.gradle index 423040bb16a..ad2de7b99cf 100644 --- a/testsettings.gradle +++ b/testsettings.gradle @@ -9,7 +9,7 @@ tasks.withType(Test) { * anything else : run the non-cloud tests */ String TEST_TYPE = "$System.env.TEST_TYPE" - forkEvery 5 + forkEvery 50 useTestNG { if (TEST_TYPE == "cloud") { // run only the cloud tests From e839fbce7e7d9a45dae98fdf15df34a60da6fbc5 Mon Sep 17 00:00:00 2001 From: Louis Bergelson Date: Wed, 30 Oct 2019 15:46:23 -0400 Subject: [PATCH 3/3] change to 100 --- testsettings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsettings.gradle b/testsettings.gradle index ad2de7b99cf..37e736a85c9 100644 --- a/testsettings.gradle +++ b/testsettings.gradle @@ -9,7 +9,7 @@ tasks.withType(Test) { * anything else : run the non-cloud tests */ String TEST_TYPE = "$System.env.TEST_TYPE" - forkEvery 50 + forkEvery 100 useTestNG { if (TEST_TYPE == "cloud") { // run only the cloud tests