You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ed...@apache.org on 2023/11/21 18:11:41 UTC
(accumulo) branch main updated: Fix LogEntry in test that was failing MergeStateIT (#3965)
This is an automated email from the ASF dual-hosted git repository.
edcoleman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/main by this push:
new 2d2a0190b9 Fix LogEntry in test that was failing MergeStateIT (#3965)
2d2a0190b9 is described below
commit 2d2a0190b94051cb1fdeb3b0b1dbb9a525e95fc6
Author: EdColeman <de...@etcoleman.com>
AuthorDate: Tue Nov 21 13:11:35 2023 -0500
Fix LogEntry in test that was failing MergeStateIT (#3965)
---
test/src/main/java/org/apache/accumulo/test/manager/MergeStateIT.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/src/main/java/org/apache/accumulo/test/manager/MergeStateIT.java b/test/src/main/java/org/apache/accumulo/test/manager/MergeStateIT.java
index 8d246c5c3c..699a8f7eaf 100644
--- a/test/src/main/java/org/apache/accumulo/test/manager/MergeStateIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/manager/MergeStateIT.java
@@ -23,6 +23,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.Collection;
import java.util.Collections;
import java.util.Set;
+import java.util.UUID;
import org.apache.accumulo.core.client.Accumulo;
import org.apache.accumulo.core.client.AccumuloClient;
@@ -202,7 +203,7 @@ public class MergeStateIT extends ConfigurableMacBase {
// Add a walog which should keep the state from transitioning to MERGING
KeyExtent ke = new KeyExtent(tableId, new Text("t"), new Text("p"));
m = new Mutation(ke.toMetaRow());
- LogEntry logEntry = new LogEntry("f1");
+ LogEntry logEntry = new LogEntry("localhost:1234/" + UUID.randomUUID());
m.at().family(LogColumnFamily.NAME).qualifier(logEntry.getColumnQualifier())
.put(logEntry.getValue());
update(accumuloClient, m);