Skip to content

Commit fa69a1d

Browse files
committed
Fix test
1 parent cb7f6c3 commit fa69a1d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

qa/packaging/src/test/java/org/elasticsearch/packaging/test/ArchiveTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,7 @@ public void test92ElasticsearchNodeCliPackaging() throws Exception {
571571
}
572572

573573
public void test93ElasticsearchNodeCustomDataPathAndNotEsHomeWorkDir() throws Exception {
574-
Path relativeDataPath = installation.data.relativize(installation.home);
575-
logger.info("installation.data: {}, installation.home {}, relativeDataPath {}",
576-
installation.data, installation.home, relativeDataPath);
574+
Path relativeDataPath = getRootTempDir().resolve("custom_data");
577575
append(installation.config("elasticsearch.yml"), "path.data: " + relativeDataPath);
578576
sh.setWorkingDirectory(getRootTempDir());
579577

0 commit comments

Comments
 (0)