Skip to content

Commit 84ec8a6

Browse files
committed
fix unit tests
1 parent d54dd6b commit 84ec8a6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • dd-java-agent/agent-debugger/src/main/java/com/datadog/debugger/probe

dd-java-agent/agent-debugger/src/main/java/com/datadog/debugger/probe/LogProbe.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -811,9 +811,7 @@ private LogStatus(ProbeImplementation probeImplementation, boolean condition) {
811811

812812
@Override
813813
public boolean shouldFreezeContext() {
814-
return sampled
815-
&& ((CapturedContextProbe) probeImplementation).isCaptureSnapshot()
816-
&& shouldSend();
814+
return sampled && (((LogProbe) probeImplementation).isFullSnapshot()) && shouldSend();
817815
}
818816

819817
@Override

0 commit comments

Comments
 (0)