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

mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/master by this push:
     new b17d0ae   #1013 Fix ConfigurableMacBase (#1019)
b17d0ae is described below

commit b17d0ae6f9a5d6d15145ffbca9700d8fcbd6058b
Author: Mike Walch <mwa...@apache.org>
AuthorDate: Fri Mar 8 12:39:41 2019 -0500

     #1013 Fix ConfigurableMacBase (#1019)
    
    * Return client properties from MiniAccumuloCluster
    * SSL configuration was not being returned by MiniAccumuloCluster
      causing SSL ITs to fail
---
 .../org/apache/accumulo/test/functional/ConfigurableMacBase.java     | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 
a/test/src/main/java/org/apache/accumulo/test/functional/ConfigurableMacBase.java
 
b/test/src/main/java/org/apache/accumulo/test/functional/ConfigurableMacBase.java
index 8f842dd..ad6055d 100644
--- 
a/test/src/main/java/org/apache/accumulo/test/functional/ConfigurableMacBase.java
+++ 
b/test/src/main/java/org/apache/accumulo/test/functional/ConfigurableMacBase.java
@@ -26,7 +26,6 @@ import java.io.OutputStream;
 import java.util.Map;
 import java.util.Properties;
 
-import org.apache.accumulo.core.client.Accumulo;
 import org.apache.accumulo.core.conf.ClientProperty;
 import org.apache.accumulo.core.conf.Property;
 import org.apache.accumulo.harness.AccumuloClusterHarness;
@@ -186,9 +185,7 @@ public class ConfigurableMacBase extends AccumuloITBase {
   }
 
   protected Properties getClientProperties() {
-    return Accumulo.newClientProperties()
-        .to(getCluster().getInstanceName(), 
getCluster().getZooKeepers()).as("root", ROOT_PASSWORD)
-        .build();
+    return cluster.getClientProperties();
   }
 
   protected ServerContext getServerContext() {

Reply via email to