mumrah commented on PR #18770:
URL: https://github.com/apache/kafka/pull/18770#issuecomment-2631413304

   @ijuma @chia7712: Looking more closely, I don't think we can repeat the unit 
tests within the JUnit framework. To repeat those tests, we would need to 
generate additional test invocation contexts which can only be done through a 
test template like `@RepeatableTest` or our own `@ClusterTest`. As far as I see 
it, the only way we could do this would be to introduce our own test annotation 
for unit tests which seems very disruptive and confusing.
   
   An alternative would be to do the repetition at a higher level. For example, 
we could run the Gradle task in a loop or spawn parallel GHA jobs for the "new" 
tests. 
   
   Either way, I think that could be done separately from this PR. I will add 
the repetition for integration tests in this PR.


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to