This is an automated email from the ASF dual-hosted git repository.
kturner pushed a commit to branch elasticity
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/elasticity by this push:
new c5f4b9b678 fixes compile error after clean merge of #4388 (#4390)
c5f4b9b678 is described below
commit c5f4b9b678abdc993c0f32274b210212b2458710
Author: Keith Turner <[email protected]>
AuthorDate: Sat Mar 16 13:02:07 2024 -0400
fixes compile error after clean merge of #4388 (#4390)
---
.../test/java/org/apache/accumulo/core/util/FastFormatTest.java | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git
a/core/src/test/java/org/apache/accumulo/core/util/FastFormatTest.java
b/core/src/test/java/org/apache/accumulo/core/util/FastFormatTest.java
index 8e68d87a34..545f3feaf2 100644
--- a/core/src/test/java/org/apache/accumulo/core/util/FastFormatTest.java
+++ b/core/src/test/java/org/apache/accumulo/core/util/FastFormatTest.java
@@ -24,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
import java.util.Arrays;
-import org.apache.accumulo.core.fate.FateId;
import org.junit.jupiter.api.Test;
public class FastFormatTest {
@@ -121,14 +120,10 @@ public class FastFormatTest {
@Test
public void testHexString() {
- String prefix = "FATE:USER:";
- assertEquals(FateId.formatTid(987654321L),
FastFormat.toHexString(987654321L));
- long txid = FateId.from(prefix + "2e429160071c63d8").getTid();
- assertEquals(prefix + "2e429160071c63d8", FastFormat.toHexString(prefix,
txid, ""));
assertEquals(String.format("%016x", 64L), FastFormat.toHexString(64L));
assertEquals(String.format("%016x", 0X2e429160071c63d8L),
FastFormat.toHexString(0X2e429160071c63d8L));
-
+ assertEquals(String.format("%016x", 987654321L),
FastFormat.toHexString(987654321L));
assertEquals("-0000000000000040-", FastFormat.toHexString("-", 64L, "-"));
assertEquals("-00000000075bcd15", FastFormat.toHexString("-", 123456789L,
""));
assertEquals("000000000000000a", FastFormat.toHexString(0XaL));