Skip to content

Commit 312f5ee

Browse files
authored
HBASE-28025 Enhance ByteBufferUtils.findCommonPrefix to compare 8 bytes each time [addendum] (#5362)
Remove the "@test" annotation from the "TestBytes" class due to its reliance on "TestCase" from JUnit 3. Signed-off-by: Duo Zhang <zhangduo@apache.org>
1 parent 6596ef6 commit 312f5ee

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestBytes.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,12 +551,10 @@ public void testToFromHex() {
551551
}
552552
}
553553

554-
@Test
555554
public void testFindCommonPrefix() throws Exception {
556555
testFindCommonPrefix(false);
557556
}
558557

559-
@Test
560558
public void testFindCommonPrefixUnsafe() throws Exception {
561559
testFindCommonPrefix(true);
562560
}

0 commit comments

Comments
 (0)