Skip to content

Commit fa48008

Browse files
Merge pull request #7000 from DataDog/bbujon/ci-flaky-smoketest-profiling
Mark test profiling smoke test as flaky
2 parents 9bb41d1 + 968ad23 commit fa48008

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

dd-smoke-tests/profiling-integration-tests/src/test/java/datadog/smoketest/CodeHotspotsTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ private static Stream<Arguments> reactiveTestParams() {
159159

160160
@Test
161161
@DisplayName("Test batch app")
162+
@Flaky
162163
void testBatch() throws Exception {
163164
System.out.println("Test batch app");
164165
int meanServiceTimeSecs = 1; // seconds
@@ -256,7 +257,7 @@ void testGenerativeStackTracesWithMethodHandles(int depth) throws Exception {
256257
runTestGenerativeStackTraces("MethodHandles", depth);
257258
}
258259

259-
@Flaky("hasCpuEvents assertions failes sometimes")
260+
@Flaky("hasCpuEvents assertions fails sometimes")
260261
@ParameterizedTest
261262
@ValueSource(ints = {128})
262263
void testGenerativeStackTracesWithCapturingLambdas(int depth) throws Exception {
@@ -311,7 +312,7 @@ private static void validateJfr(File f, double idleness, double minCoverage) {
311312
IItemCollection events = JfrLoaderToolkit.loadEvents(f);
312313
IItemCollection wallclock = events.apply(ItemFilters.type("datadog.MethodSample"));
313314
// IItemCollection cpu = events.apply(ItemFilters.type("datadog.ExecutionSample"));
314-
assertTrue(wallclock.hasItems());
315+
assertTrue(wallclock.hasItems(), "No datadog.MethodSample events found from " + f.getName());
315316
// assertTrue(cpu.hasItems());
316317

317318
validateStats(wallclock, idleness, minCoverage);

0 commit comments

Comments
 (0)