Skip to content

Commit 5667b1a

Browse files
committed
fix dispatcher changes with volatile
1 parent 27a5cf1 commit 5667b1a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ protected static boolean logHasErrors(Path logFilePath, Function<String, Boolean
592592
}
593593

594594
protected static class MockDispatcher extends okhttp3.mockwebserver.QueueDispatcher {
595-
private Function<RecordedRequest, MockResponse> dispatcher;
595+
private volatile Function<RecordedRequest, MockResponse> dispatcher;
596596

597597
@Override
598598
public MockResponse dispatch(RecordedRequest request) throws InterruptedException {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ void testExceptionReplayEnablement() throws Exception {
9898
@Test
9999
@DisplayName("testExceptionReplayEnablementFailure")
100100
void testExceptionReplayEnablementFailure() throws Exception {
101-
additionalJvmArgs.add("-Ddd.symbol.database.upload.enabled=true"); // enabled by default
102101
additionalJvmArgs.add("-Ddd.exception.replay.enabled=true");
103102
additionalJvmArgs.add("-Ddd.third.party.excludes=datadog.smoketest");
104103
this.probeMockDispatcher.setDispatcher(this::noEndpointDispatch);

0 commit comments

Comments
 (0)