Skip to content

Commit 206dddf

Browse files
Limit heap size for Gradle daemons forked by the smoke tests
1 parent 4e48384 commit 206dddf

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

dd-java-agent/agent-ci-visibility/civisibility-test-fixtures/src/main/groovy/datadog/trace/civisibility/CiVisibilitySmokeTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ abstract class CiVisibilitySmokeTest extends Specification {
6868
}
6969

7070
protected List<String> buildJvmArguments(String mockBackendIntakeUrl, String serviceName, Map<String, String> additionalArgs) {
71-
List<String> arguments = []
71+
List<String> arguments = ["-Xms512m", "-Xmx512m"]
7272
Map<String, String> argMap = buildJvmArgMap(mockBackendIntakeUrl, serviceName, additionalArgs)
7373

7474
// for convenience when debugging locally

dd-smoke-tests/gradle/src/test/groovy/datadog/smoketest/GradleDaemonSmokeTest.groovy

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ class GradleDaemonSmokeTest extends AbstractGradleTest {
2727

2828
private static final int GRADLE_DISTRIBUTION_NETWORK_TIMEOUT = 30_000 // Gradle's default timeout is 10s
2929

30-
// TODO: Gradle daemons started by the TestKit have an idle period of 3 minutes
31-
// so by the time tests finish, at least some of the daemons are still alive.
32-
// Because of that the temporary TestKit folder cannot be fully deleted
3330
@Shared
3431
@TempDir
3532
Path testKitFolder

0 commit comments

Comments
 (0)