Skip to content

Commit 88f59f8

Browse files
authored
Fix smoke test (#8337)
1 parent decac55 commit 88f59f8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dd-smoke-tests/debugger-integration-tests/src/test/java/datadog/smoketest/LogProbesIntegrationTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import datadog.trace.bootstrap.debugger.CapturedContext;
2727
import datadog.trace.bootstrap.debugger.MethodLocation;
2828
import datadog.trace.bootstrap.debugger.ProbeId;
29-
import datadog.trace.test.util.Flaky;
3029
import java.util.ArrayList;
3130
import java.util.HashMap;
3231
import java.util.HashSet;
@@ -54,7 +53,6 @@ void testInaccessibleObject() throws Exception {
5453
assertFalse(logHasErrors(logFilePath, it -> false));
5554
}
5655

57-
@Flaky
5856
@Test
5957
@DisplayName("testFullMethod")
6058
void testFullMethod() throws Exception {
@@ -81,8 +79,8 @@ void testFullMethod() throws Exception {
8179
"java.lang.String",
8280
"42, foobar, 3.42, {key1=val1, key2=val2, key3=val3}, var1,var2,var3");
8381
assertNotNull(snapshot.getCaptures().getReturn().getLocals());
84-
// ex & @return are the only locals
85-
assertEquals(2, snapshot.getCaptures().getReturn().getLocals().size());
82+
// @return is the only locals
83+
assertEquals(1, snapshot.getCaptures().getReturn().getLocals().size());
8684
assertNull(snapshot.getCaptures().getReturn().getCapturedThrowable());
8785
snapshotReceived.set(true);
8886
});

0 commit comments

Comments
 (0)