xijiu commented on PR #17789:
URL: https://github.com/apache/kafka/pull/17789#issuecomment-2475702480
@lianetm Thanks for reply.
I think this PR will server boths.
Both `testMultiConsumerSessionTimeoutOnClose()` and
`testMultiConsumerSessionTimeoutOnStopPolling()` will call the method
`runMultiConsumersSessionTimeoutTest()`
```
@ParameterizedTest(name =
TestInfoUtils.TestWithParameterizedQuorumAndGroupProtocolNames)
@MethodSource(Array("getTestQuorumAndGroupProtocolParametersAll"))
def testMultiConsumerSessionTimeoutOnStopPolling(quorum: String,
groupProtocol: String): Unit = {
runMultiConsumerSessionTimeoutTest(false)
}
@ParameterizedTest(name =
TestInfoUtils.TestWithParameterizedQuorumAndGroupProtocolNames)
@MethodSource(Array("getTestQuorumAndGroupProtocolParametersAll"))
def testMultiConsumerSessionTimeoutOnClose(quorum: String, groupProtocol:
String): Unit = {
runMultiConsumerSessionTimeoutTest(true)
}
```
And the failure of method `runMultiConsumersSessionTimeoutTest(boolean)` is
unrelated to the input parameters.
But to be honest, this flaky test is hard to reproduce on my mac , I ran
many many times but only reproduced it once 😁.
--
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]