alanlau28 opened a new pull request, #24305:
URL: https://github.com/apache/kafka/pull/24305

   Jira: https://issues.apache.org/jira/browse/KAFKA-16136
   
   CI: 
https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.timeZoneId=America%2FToronto&tests.container=org.apache.kafka.trogdor.coordinator.CoordinatorTest&tests.test=testTaskRequestWithOldStartMsGetsUpdated()
   
   The test closed the cluster as soon as the task reached the receiving state, 
just as the coordinator started the heartbeat that creates the worker on the 
agent. If the agent's REST server stopped during that heartbeat, the status 
request could get no response, and because Trogdor's HTTP client has no read 
timeout, coordinator shutdown waited forever until the 240-second test timeout. 
The test now waits for the worker to become active before closing, as 
`testTaskRequest` and several other tests in this class do, which leaves only 
the periodic one-second heartbeat those tests are also exposed to. Running the 
test body repeatedly under load on JDK 25 gave 0 timeouts.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to