You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by ca...@apache.org on 2020/03/09 23:19:25 UTC
[samza] branch master updated: [Test fix]: Increasing heap
allocation for test executor for samza-core tests after Gradle 5 upgrade
(#1307)
This is an automated email from the ASF dual-hosted git repository.
cameronlee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/samza.git
The following commit(s) were added to refs/heads/master by this push:
new 84a9e83 [Test fix]: Increasing heap allocation for test executor for samza-core tests after Gradle 5 upgrade (#1307)
84a9e83 is described below
commit 84a9e83d150ebc0d734a024239b35f9a66ea44b3
Author: Cameron Lee <ca...@linkedin.com>
AuthorDate: Mon Mar 9 16:19:17 2020 -0700
[Test fix]: Increasing heap allocation for test executor for samza-core tests after Gradle 5 upgrade (#1307)
---
build.gradle | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/build.gradle b/build.gradle
index 089627e..13f8f3f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -206,6 +206,13 @@ project(":samza-core_$scalaSuffix") {
configFile = new File(rootDir, "checkstyle/checkstyle.xml")
toolVersion = "$checkstyleVersion"
}
+
+ test {
+ // TODO SAMZA-2481: why do some tests need so much memory?
+ minHeapSize = "3g"
+ maxHeapSize = "3g"
+ jvmArgs = ["-XX:+UseConcMarkSweepGC", "-server"]
+ }
}
project(":samza-azure_$scalaSuffix") {
@@ -870,4 +877,4 @@ project(":samza-test_$scalaSuffix") {
// SAMZA-2473 read wrapper version from gradle.properties
wrapper {
gradleVersion = project.gradleVersion
-}
\ No newline at end of file
+}