[GitHub] [kafka] chia7712 commented on pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2021-01-10 Thread GitBox


chia7712 commented on pull request #9520:
URL: https://github.com/apache/kafka/pull/9520#issuecomment-757469199


   @ijuma Thanks for all your great reviews!



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.

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




[GitHub] [kafka] chia7712 commented on pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2021-01-09 Thread GitBox


chia7712 commented on pull request #9520:
URL: https://github.com/apache/kafka/pull/9520#issuecomment-757429406


   fix conflicting files



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.

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




[GitHub] [kafka] chia7712 commented on pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2021-01-09 Thread GitBox


chia7712 commented on pull request #9520:
URL: https://github.com/apache/kafka/pull/9520#issuecomment-757421003


   > Will you do the core conversion to JUnit 5 next?
   
   of course. Should we keep using ```ScalaTest``` and ```hamcrest```? They are 
not in conflict with Junit 5 but it results in various code style in testing.



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.

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




[GitHub] [kafka] chia7712 commented on pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2021-01-07 Thread GitBox


chia7712 commented on pull request #9520:
URL: https://github.com/apache/kafka/pull/9520#issuecomment-756299473


   > Can you please remove the last commit?
   
   done!



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.

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




[GitHub] [kafka] chia7712 commented on pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2021-01-07 Thread GitBox


chia7712 commented on pull request #9520:
URL: https://github.com/apache/kafka/pull/9520#issuecomment-756282441


   I have reverted most unrelated changes.  see 
https://github.com/apache/kafka/pull/9520/commits/d0e2236e96db0b514f4d2c07641eb236feb1de74



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.

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




[GitHub] [kafka] chia7712 commented on pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2021-01-06 Thread GitBox


chia7712 commented on pull request #9520:
URL: https://github.com/apache/kafka/pull/9520#issuecomment-755925570


   rebase code to fix conflicts



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.

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




[GitHub] [kafka] chia7712 commented on pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2020-12-28 Thread GitBox


chia7712 commented on pull request #9520:
URL: https://github.com/apache/kafka/pull/9520#issuecomment-751954761


   @ijuma Thanks for your great reviewing. I have addressed most review comment 
in latest commit.
   
   > It would be good to clearly mention the cases where the translation wasn't 
mechanism as they are the most likely sources of issues.
   
   Pardon me. I failed to catch your point.



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.

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




[GitHub] [kafka] chia7712 commented on pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2020-12-23 Thread GitBox


chia7712 commented on pull request #9520:
URL: https://github.com/apache/kafka/pull/9520#issuecomment-750355111


   > Feel free to take one or more of the other ones. core would be a good 
candidate perhaps.
   
   I’d like to take over both core module and stream module :)



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.

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




[GitHub] [kafka] chia7712 commented on pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2020-12-23 Thread GitBox


chia7712 commented on pull request #9520:
URL: https://github.com/apache/kafka/pull/9520#issuecomment-750351742


   > I was about halfway through the review of the second to last commit. :) 
Let's get this PR over the line and not change it further please. 
   
   I am so sorry my force push obstructed you from reviewing. I will never do 
that again :(



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.

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




[GitHub] [kafka] chia7712 commented on pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2020-12-23 Thread GitBox


chia7712 commented on pull request #9520:
URL: https://github.com/apache/kafka/pull/9520#issuecomment-750005283


   @ijuma the latest commit replaces all ExpectedException or @Test(expected = 
Exception.class) by assertThrows. It seems to me we can get closer to junit 5 
if this PR is got into trunk. Furthermore, I'd like to file following PR to 
remove all junit 4 code.
   
   1. Replace ScalaTest by junit
   2. Replace junit 4 APIs by Junit 5 for each module
   1. rewrite parameter tests
   2. replace ```org.junit``` by ```org.junit.jupiter.api```
   3. replace ```IntegrationTest``` by tag ```Integration```
   4. replace ```useJUnitPlatform``` by ```useJUnit``` 
   
   WDYT?



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.

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




[GitHub] [kafka] chia7712 commented on pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2020-12-21 Thread GitBox


chia7712 commented on pull request #9520:
URL: https://github.com/apache/kafka/pull/9520#issuecomment-748854295


   > One more thing: we seem to sometimes use the scalatest asserts and 
sometimes the JUnit ones for the Scala code. I would suggest using the JUnit 
ones consistently as it will make it easier to convert the tests to JUnit 5.
   
   Except for ```org.scalatest.Assertions.withClue```, others package from 
```org.scalatest.Assertions``` are replaced by Junit.



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.

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




[GitHub] [kafka] chia7712 commented on pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2020-12-18 Thread GitBox


chia7712 commented on pull request #9520:
URL: https://github.com/apache/kafka/pull/9520#issuecomment-748432641


   @ijuma Any thoughts to 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.

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