Re: [PR] KAFKA-16640: Replace TestUtils#resource by scala.util.Using [kafka]

2024-11-27 Thread via GitHub
chia7712 commented on PR #15881: URL: https://github.com/apache/kafka/pull/15881#issuecomment-2503565352 #17954 will correct the usage of `Using`. -- 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

Re: [PR] KAFKA-16640: Replace TestUtils#resource by scala.util.Using [kafka]

2024-11-26 Thread via GitHub
chia7712 commented on PR #15881: URL: https://github.com/apache/kafka/pull/15881#issuecomment-2502688514 Sorry for the trouble. I’ll take over the Jira. Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL a

Re: [PR] KAFKA-16640: Replace TestUtils#resource by scala.util.Using [kafka]

2024-11-26 Thread via GitHub
frankvicky commented on PR #15881: URL: https://github.com/apache/kafka/pull/15881#issuecomment-2502685865 Oops, I will take a look -- 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 c

Re: [PR] KAFKA-16640: Replace TestUtils#resource by scala.util.Using [kafka]

2024-11-26 Thread via GitHub
ijuma commented on PR #15881: URL: https://github.com/apache/kafka/pull/15881#issuecomment-2502412144 > It looks like this change is silently suppressing all errors in tests that were updated, since we don't check the resulting Try for failures. Ouch! A bunch of tests were broken as a

Re: [PR] KAFKA-16640: Replace TestUtils#resource by scala.util.Using [kafka]

2024-11-26 Thread via GitHub
jolshan commented on PR #15881: URL: https://github.com/apache/kafka/pull/15881#issuecomment-2502363433 https://issues.apache.org/jira/browse/KAFKA-18100 -- 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

Re: [PR] KAFKA-16640: Replace TestUtils#resource by scala.util.Using [kafka]

2024-11-26 Thread via GitHub
jolshan commented on PR #15881: URL: https://github.com/apache/kafka/pull/15881#issuecomment-2502357138 @chia7712 I will file a ticket for this. I just tested by including a assertEquals(1, 2) in a `Using` block and the test still passed. -- This is an automated message from the Apache Gi

Re: [PR] KAFKA-16640: Replace TestUtils#resource by scala.util.Using [kafka]

2024-11-26 Thread via GitHub
xvrl commented on PR #15881: URL: https://github.com/apache/kafka/pull/15881#issuecomment-2501874334 it looks like this change is silently suppressing all errors in tests that were updated, since we don't check the resulting Try for failures. -- This is an automated message from the Apach

Re: [PR] KAFKA-16640: Replace TestUtils#resource by scala.util.Using [kafka]

2024-05-08 Thread via GitHub
chia7712 merged PR #15881: URL: https://github.com/apache/kafka/pull/15881 -- 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

[PR] KAFKA-16640: Replace TestUtils#resource by scala.util.Using [kafka]

2024-05-07 Thread via GitHub
frankvicky opened a new pull request, #15881: URL: https://github.com/apache/kafka/pull/15881 Check all uses of `TestUtils#resource` and replace with `scala.util.Using` - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentati