File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
dd-java-agent/agent-debugger/src
main/java/com/datadog/debugger/probe
test/java/com/datadog/debugger/trigger Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ private boolean evaluateCondition(CapturedContext capture) {
118118 }
119119 long start = System .nanoTime ();
120120 try {
121- return ! probeCondition .execute (capture );
121+ return probeCondition .execute (capture );
122122 } catch (EvaluationException ex ) {
123123 DebuggerAgent .getSink ().getProbeStatusSink ().addError (probeId , ex );
124124 return false ;
Original file line number Diff line number Diff line change 3232import java .util .Collection ;
3333import java .util .List ;
3434import org .joor .Reflect ;
35- import org .junit .jupiter .api .AfterEach ;
3635import org .junit .jupiter .api .BeforeEach ;
3736import org .junit .jupiter .api .Test ;
3837
@@ -57,11 +56,6 @@ public void before() {
5756 setFieldInConfig (Config .get (), "distributedDebuggerEnabled" , true );
5857 }
5958
60- @ AfterEach
61- public void after () {
62- ProbeRateLimiter .resetAll ();
63- }
64-
6559 @ Test
6660 public void conditions () throws IOException , URISyntaxException {
6761 final String className = "com.datadog.debugger.TriggerProbe02" ;
You can’t perform that action at this time.
0 commit comments