Make profiling controller test more resilient to delays
MODIFY
dd-java-agent/agent-profiling/profiling-controller/src/test/java/com/datadog/profiling/controller/ProfilingSystemTest.java
dd-java-agent/agent-profiling/profiling-controller/src/test/java/com/datadog/profiling/controller/ProfilingSystemTest.java
@@ -257,7 +257,7 @@ public class ProfilingSystemTest {
startProfilingSystem(system);
final ArgumentCaptor<RecordingData> captor = ArgumentCaptor.forClass(RecordingData.class);
- verify(listener, timeout(REASONABLE_TIMEOUT).times(2))
+ verify(listener, timeout(REASONABLE_TIMEOUT).atLeast(2))
.onNewData(eq(CONTINUOUS), captor.capture());
assertEquals(generatedRecordingData, captor.getAllValues());

Make profiling controller test more resilient to delays