You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by "shoothzj (via GitHub)" <gi...@apache.org> on 2024/04/23 01:14:40 UTC

[PR] test: use junit assert instead of java assert statement in test [bookkeeper]

shoothzj opened a new pull request, #4310:
URL: https://github.com/apache/bookkeeper/pull/4310

   ### Motivation
   
   See #995
   
   ### Changes
   
   1. use junit assert instead of java assert statement in test
   2. delete a unused util class also uses assert statement


-- 
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: commits-unsubscribe@bookkeeper.apache.org

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


Re: [PR] test: use junit assert instead of java assert statement in test [bookkeeper]

Posted by "shoothzj (via GitHub)" <gi...@apache.org>.
shoothzj commented on code in PR #4310:
URL: https://github.com/apache/bookkeeper/pull/4310#discussion_r1581979470


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/util/DaemonThreadFactory.java:
##########


Review Comment:
   @jiazhai This class is not used anywhere even in pulsar project. And this class also uses assert statement.



-- 
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: commits-unsubscribe@bookkeeper.apache.org

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


Re: [PR] test: use junit assert instead of java assert statement in test [bookkeeper]

Posted by "hangc0276 (via GitHub)" <gi...@apache.org>.
hangc0276 commented on PR #4310:
URL: https://github.com/apache/bookkeeper/pull/4310#issuecomment-2130749353

   This PR can only be released in major releases because we removed DaemonThreadFactory in the util package and it may be used in other projects.


-- 
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: commits-unsubscribe@bookkeeper.apache.org

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


Re: [PR] test: use junit assert instead of java assert statement in test [bookkeeper]

Posted by "jiazhai (via GitHub)" <gi...@apache.org>.
jiazhai commented on code in PR #4310:
URL: https://github.com/apache/bookkeeper/pull/4310#discussion_r1581839645


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/util/DaemonThreadFactory.java:
##########


Review Comment:
   Seems this change is not related with the target. Is this class not used anywhere?  why this is removed?



-- 
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: commits-unsubscribe@bookkeeper.apache.org

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


Re: [PR] test: use junit assert instead of java assert statement in test [bookkeeper]

Posted by "shoothzj (via GitHub)" <gi...@apache.org>.
shoothzj merged PR #4310:
URL: https://github.com/apache/bookkeeper/pull/4310


-- 
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: commits-unsubscribe@bookkeeper.apache.org

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


Re: [PR] test: use junit assert instead of java assert statement in test [bookkeeper]

Posted by "shoothzj (via GitHub)" <gi...@apache.org>.
shoothzj commented on PR #4310:
URL: https://github.com/apache/bookkeeper/pull/4310#issuecomment-2071234160

   @dlg99 @eolivelli @hangc0276 @merlimat @nicoloboschi @zhaijack PTAL


-- 
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: commits-unsubscribe@bookkeeper.apache.org

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


Re: [PR] test: use junit assert instead of java assert statement in test [bookkeeper]

Posted by "shoothzj (via GitHub)" <gi...@apache.org>.
shoothzj commented on PR #4310:
URL: https://github.com/apache/bookkeeper/pull/4310#issuecomment-2076049334

   @dlg99 @eolivelli @hangc0276 @merlimat @nicoloboschi @zhaijack PTAL


-- 
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: commits-unsubscribe@bookkeeper.apache.org

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