This is an automated email from the ASF dual-hosted git repository.
liuxiaocs7 pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-3 by this push:
new bc9d6623a7b HBASE-30138 Addendum Fix checkstyle issue in
TestMajorCompaction (#8297)
bc9d6623a7b is described below
commit bc9d6623a7b7218db24724b5d8160bebb54acc41
Author: Xiao Liu <[email protected]>
AuthorDate: Tue Jun 2 13:07:58 2026 +0800
HBASE-30138 Addendum Fix checkstyle issue in TestMajorCompaction (#8297)
Signed-off-by: Duo Zhang <[email protected]>
---
.../org/apache/hadoop/hbase/regionserver/TestMajorCompaction.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMajorCompaction.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMajorCompaction.java
index 4720995eca5..93e6b37543d 100644
---
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMajorCompaction.java
+++
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMajorCompaction.java
@@ -408,8 +408,8 @@ public class TestMajorCompaction {
CompactionRequestImpl request = store
.requestCompaction(PRIORITY_USER, CompactionLifeCycleTracker.DUMMY,
null).get().getRequest();
assertNotNull(request, "Expected to receive a compaction request");
- assertEquals(true, request.isMajor(),
- "User-requested major compaction should always occur, even if there are
too many store files");
+ assertTrue(request.isMajor(), "User-requested major compaction should
always occur, "
+ + "even if there are too many store files");
}
/**