This is an automated email from the ASF dual-hosted git repository.
psomogyi pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new 312f5ee06a1 HBASE-28025 Enhance ByteBufferUtils.findCommonPrefix to
compare 8 bytes each time [addendum] (#5362)
312f5ee06a1 is described below
commit 312f5ee06a10d79474f52e9c597cccb53245549c
Author: Peter Somogyi <[email protected]>
AuthorDate: Mon Aug 21 10:25:03 2023 +0200
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 <[email protected]>
---
hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestBytes.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestBytes.java
b/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestBytes.java
index d3a233bc5fe..540fbd63924 100644
--- a/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestBytes.java
+++ b/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestBytes.java
@@ -551,12 +551,10 @@ public class TestBytes extends TestCase {
}
}
- @Test
public void testFindCommonPrefix() throws Exception {
testFindCommonPrefix(false);
}
- @Test
public void testFindCommonPrefixUnsafe() throws Exception {
testFindCommonPrefix(true);
}