You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mm...@apache.org on 2020/04/22 18:34:32 UTC
[accumulo] branch master updated: Remove unused mock in
TableConfigurationTest
This is an automated email from the ASF dual-hosted git repository.
mmiller 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 4927b25 Remove unused mock in TableConfigurationTest
4927b25 is described below
commit 4927b25aa312a999805fabb61aa0aa78e597c044
Author: Mike Miller <mm...@apache.org>
AuthorDate: Wed Apr 22 14:31:08 2020 -0400
Remove unused mock in TableConfigurationTest
---
.../java/org/apache/accumulo/server/conf/TableConfigurationTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/server/base/src/test/java/org/apache/accumulo/server/conf/TableConfigurationTest.java b/server/base/src/test/java/org/apache/accumulo/server/conf/TableConfigurationTest.java
index 7f24229..6b19a18 100644
--- a/server/base/src/test/java/org/apache/accumulo/server/conf/TableConfigurationTest.java
+++ b/server/base/src/test/java/org/apache/accumulo/server/conf/TableConfigurationTest.java
@@ -58,8 +58,7 @@ public class TableConfigurationTest {
public void setUp() {
iid = UUID.randomUUID().toString();
context = createMock(ServerContext.class);
- ServerConfigurationFactory scf = createMock(ServerConfigurationFactory.class);
- expect(context.getServerConfFactory()).andReturn(scf);
+
expect(context.getProperties()).andReturn(new Properties()).anyTimes();
expect(context.getInstanceID()).andReturn(iid).anyTimes();
expect(context.getZooKeeperRoot()).andReturn("/accumulo/" + iid).anyTimes();