summaryrefslogtreecommitdiffstats
path: root/configserver
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2022-08-22 12:27:53 +0200
committerHarald Musum <musum@yahooinc.com>2022-08-22 12:27:53 +0200
commit64ecc90f9b1670d870f4b7aba1715695ebf1f7af (patch)
tree3451c1758ef120fbdf6b727d1ff7f3e0f8862edb /configserver
parentaae0ec62de8633fd5405df451bef163e7520fd35 (diff)
Fix
Diffstat (limited to 'configserver')
-rw-r--r--configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java
index e8eb49c72cf..4df653950e9 100644
--- a/configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java
+++ b/configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java
@@ -504,7 +504,7 @@ public class ApplicationRepositoryTest {
java.nio.file.Path applicationPath = tenantFileSystemDirs.getUserApplicationDir(sessionId).toPath();
Files.createDirectory(applicationPath);
Files.writeString(Files.createFile(applicationPath.resolve("services.xml")),
- Files.readString(Paths.get(illegalApp2.getAbsolutePath(), "services.xml")));
+ Files.readString(Paths.get(illegalApp2.getAbsolutePath()).resolve(Paths.get("services.xml"))));
assertTrue(applicationPath.toFile().exists()); // App exists on disk
session = sessionRepository.createRemoteSession(sessionId);
sessionRepository.createSessionZooKeeperClient(sessionId).createNewSession(clock.instant());