You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by bi...@apache.org on 2015/06/03 05:16:59 UTC
accumulo git commit: ACCUMULO-3883 remove
ClientConfiguration.loadDefault from TransportCachingIT
Repository: accumulo
Updated Branches:
refs/heads/1.7 92d19eeb7 -> c475af0f9
ACCUMULO-3883 remove ClientConfiguration.loadDefault from TransportCachingIT
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/c475af0f
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/c475af0f
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/c475af0f
Branch: refs/heads/1.7
Commit: c475af0f94bf3a9a7871159c448cf30bd6f52bb9
Parents: 92d19ee
Author: Billie Rinaldi <bi...@apache.org>
Authored: Tue Jun 2 19:44:09 2015 -0700
Committer: Billie Rinaldi <bi...@apache.org>
Committed: Tue Jun 2 19:44:09 2015 -0700
----------------------------------------------------------------------
.../test/java/org/apache/accumulo/test/TransportCachingIT.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/c475af0f/test/src/test/java/org/apache/accumulo/test/TransportCachingIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/TransportCachingIT.java b/test/src/test/java/org/apache/accumulo/test/TransportCachingIT.java
index 5f9d601..5bfb207 100644
--- a/test/src/test/java/org/apache/accumulo/test/TransportCachingIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/TransportCachingIT.java
@@ -55,8 +55,7 @@ public class TransportCachingIT extends AccumuloClusterIT {
public void testCachedTransport() {
Connector conn = getConnector();
Instance instance = conn.getInstance();
- ClientConfiguration clientConf = ClientConfiguration.loadDefault();
- clientConf.withInstance(instance.getInstanceName()).withZkHosts(instance.getZooKeepers());
+ ClientConfiguration clientConf = cluster.getClientConfig();
ClientContext context = new ClientContext(instance, new Credentials(getAdminPrincipal(), getAdminToken()), clientConf);
long rpcTimeout = DefaultConfiguration.getTimeInMillis(Property.GENERAL_RPC_TIMEOUT.getDefaultValue());