You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2019/12/19 17:53:07 UTC

[GitHub] [helix] pkuwm opened a new issue #663: assertNotSame is not used accurately in unit tests

pkuwm opened a new issue #663: assertNotSame is not used accurately in unit tests
URL: https://github.com/apache/helix/issues/663
 
 
   `assertNotSame` checks two objects don't refer to the same object. But when we would like to check if two objects are equaled or not, `assertNotSame` is not a correct option to use. If we use `assertNotSame` to check if 2 objects have the same value, ``assertNotSame` would always pass, even the 2 objects have different values.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org