Skip to content

Commit 1bb6bf5

Browse files
Try to fix flaky ApmServerReporterIntegrationTest#testTimeout (elastic#2395)
1 parent a4fa889 commit 1bb6bf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apm-agent-core/src/test/java/co/elastic/apm/agent/report/ApmServerReporterIntegrationTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ static void stopServer() {
8989

9090
@BeforeEach
9191
void setUp() throws Exception {
92+
statusCode = HttpStatus.OK_200;
9293
handler = new BlockingHandler(exchange -> {
9394
if (statusCode < 300 && exchange.getRequestPath().equals("/intake/v2/events")) {
9495
receivedIntakeApiCalls.incrementAndGet();

0 commit comments

Comments
 (0)