Skip to content

Commit 78063a0

Browse files
committed
Test fixes
1 parent 27f4ba9 commit 78063a0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

agent/agent-tooling/src/test/java/com/microsoft/applicationinsights/agent/internal/profiler/ProfilerControlTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ void triggerProfileWithDefaultDuration() {
3434
AtomicReference<AlertBreach> received = new AtomicReference<>();
3535
Consumer<AlertBreach> handler = received::set;
3636

37+
ProfilerControl control = new ProfilerControl(handler);
38+
String result = control.triggerProfile();
39+
3740
assertThat(result).startsWith("Profile trigger requested");
3841

3942
AlertBreach breach = received.get();

0 commit comments

Comments
 (0)