-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-22677 Add unit tests for org.apache.hadoop.hbase.util.ByteRangeUtils and Classes #374
HBASE-22677 Add unit tests for org.apache.hadoop.hbase.util.ByteRangeUtils and Classes #374
Conversation
💔 -1 overall
This message was automatically generated. |
hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestByteRangeUtils.java
Outdated
Show resolved
Hide resolved
hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestClasses.java
Outdated
Show resolved
Hide resolved
7dc8d6d
to
6f0496f
Compare
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Hi @HorizonNet Is there any other changes you would like me to make to this PR? |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Hi @HorizonNet just following up Is there any other changes you would like me to make to this PR? |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a minor NIT. Remaining stuff LGTM.
hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestByteRangeUtils.java
Outdated
Show resolved
Hide resolved
hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestClasses.java
Outdated
Show resolved
Hide resolved
6f0496f
to
6bd6e08
Compare
Hi @HorizonNet I have replaced the imports with static imports as requested :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, pending QA.
💔 -1 overall
This message was automatically generated. |
@Braavos96 There are two Checkstyle warnings related to the import order. Could you please resolve them and then we should be ready to merge. |
6bd6e08
to
d4989bf
Compare
Hi @HorizonNet I have changed the order of the static assert imports |
💔 -1 overall
This message was automatically generated. |
@Braavos96 Imports are still in the wrong order. If I remember correctly they should come first before any other imports. You can also check that by running |
….Utils and Classes These tests were written using Diffblue Cover.
d4989bf
to
c2fe8ff
Compare
Hi @HorizonNet I moved the static imports to the top. I also tried the command |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Hi @HorizonNet is there any other changes to be made to this PR? |
@Braavos96 Yes, the build is still failing (see above). |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
+1 |
💔 -1 overall
This message was automatically generated. |
@Braavos96 |
@xcangCRM I'm doing it, as soon as the last Checkstyle issue is resolved (see my comments and build output above). |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Please finish this @HorizonNet ? Thanks. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
@Apache9 I added a commit, which should resolve the last Checkstyle issue. Let's wait for QA. |
🎊 +1 overall
This message was automatically generated. |
I've analysed your codebase and noticed that
org.apache.hadoop.hbase.util.ByteRangeUtils
andClasses
is not fully tested.I've written some tests for the methods in this class with the help of Diffblue Cover.
Hopefully, these tests will help you detect any regressions caused by future code changes. If you would find it useful to have additional tests written for this repository, I would be more than happy to look at other classes that you consider important in a subsequent PR.