This is an automated email from the ASF dual-hosted git repository.

ctubbsii 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 3b23f6a  Fix AuditMessageIT for #1828
3b23f6a is described below

commit 3b23f6af17ddc0da76fd4756a4c45c72aea50730
Author: Christopher Tubbs <ctubb...@apache.org>
AuthorDate: Wed Dec 9 00:44:17 2020 -0500

    Fix AuditMessageIT for #1828
    
    Don't attempt to flush first when cloning, or the audit log message will
    show denial on the flush operation, rather than the clone operation
    being checked.
---
 test/src/main/java/org/apache/accumulo/test/AuditMessageIT.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/src/main/java/org/apache/accumulo/test/AuditMessageIT.java 
b/test/src/main/java/org/apache/accumulo/test/AuditMessageIT.java
index 62d6a23..ee173ae 100644
--- a/test/src/main/java/org/apache/accumulo/test/AuditMessageIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/AuditMessageIT.java
@@ -459,7 +459,7 @@ public class AuditMessageIT extends ConfigurableMacBase {
       auditAccumuloClient.tableOperations().rename(OLD_TEST_TABLE_NAME, 
NEW_TEST_TABLE_NAME);
     } catch (AccumuloSecurityException ex) {}
     try {
-      auditAccumuloClient.tableOperations().clone(OLD_TEST_TABLE_NAME, 
NEW_TEST_TABLE_NAME, true,
+      auditAccumuloClient.tableOperations().clone(OLD_TEST_TABLE_NAME, 
NEW_TEST_TABLE_NAME, false,
           Collections.emptyMap(), Collections.emptySet());
     } catch (AccumuloSecurityException ex) {}
     try {

Reply via email to