Repository: accumulo Updated Branches: refs/heads/master 3d9336b83 -> e6e85cfa1
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/master Commit: c475af0f94bf3a9a7871159c448cf30bd6f52bb9 Parents: 92d19ee Author: Billie Rinaldi <bil...@apache.org> Authored: Tue Jun 2 19:44:09 2015 -0700 Committer: Billie Rinaldi <bil...@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());