Skip to content

Commit f6a18c1

Browse files
committed
Increase memory sampling to try and avoid flaky tests
1 parent 562ad9a commit f6a18c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ddprof-test/src/test/java/com/datadoghq/profiler/jfr/ObjectSampleDumpSmokeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ protected boolean isPlatformSupported() {
1515

1616
@Override
1717
protected String getProfilerCommand() {
18-
return "memory=1024:a";
18+
return "memory=128:a";
1919
}
2020

2121
@RetryingTest(5)

ddprof-test/src/test/java/com/datadoghq/profiler/memleak/GCGenerationsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
public class GCGenerationsTest extends AbstractProfilerTest {
2121
@Override
2222
protected String getProfilerCommand() {
23-
return "generations=true,cstack=fp";
23+
return "memory=128,generations=true,cstack=fp";
2424
}
2525

2626
@Override

0 commit comments

Comments
 (0)