summaryrefslogtreecommitdiffstats
path: root/configserver
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2019-08-19 10:32:51 +0200
committerHarald Musum <musum@verizonmedia.com>2019-08-19 10:32:51 +0200
commit72d4649bf619b21496cf101cf0bc97486418e066 (patch)
tree7a3e9861576665670174540f42138af74f5178d2 /configserver
parent855319b9f08f3153aca1fda7ecb5509644b623b1 (diff)
Remove unnecessary code
Diffstat (limited to 'configserver')
-rw-r--r--configserver/src/test/java/com/yahoo/vespa/config/server/session/RemoteSessionRepoTest.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/session/RemoteSessionRepoTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/session/RemoteSessionRepoTest.java
index 9110671b494..552ae841c3f 100644
--- a/configserver/src/test/java/com/yahoo/vespa/config/server/session/RemoteSessionRepoTest.java
+++ b/configserver/src/test/java/com/yahoo/vespa/config/server/session/RemoteSessionRepoTest.java
@@ -102,10 +102,8 @@ public class RemoteSessionRepoTest {
long sessionId = 3L;
TenantName mytenant = TenantName.from("mytenant");
GlobalComponentRegistry registry = new TestComponentRegistry.Builder().curator(curator).build();
- TenantApplications applicationRepo = TenantApplications.create(registry, new MockReloadHandler(), mytenant);
curator.set(TenantRepository.getApplicationsPath(mytenant).append("mytenant:appX:default"), new byte[0]); // Invalid data
Tenant tenant = TenantBuilder.create(registry, mytenant)
- .withApplicationRepo(applicationRepo)
.build();
curator.create(TenantRepository.getSessionsPath(mytenant));
remoteSessionRepo = tenant.getRemoteSessionRepo();