Skip to content

Commit 1609dd6

Browse files
committed
Fix copying config files to container
1 parent 1378918 commit 1609dd6

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed

Diff for: tests/backward-compat/upgrade-direct/src/test/groovy/org/apache/bookkeeper/tests/backwardcompat/TestCompatUpgradeDowngrade.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class TestCompatUpgradeDowngrade {
6464
versions.add(CURRENT_VERSION)
6565

6666
File testRocksDbConfDir = new File(getClass().getClassLoader()
67-
.getResource("TestCompatUpgradeDowngrade/default_rocksdb.conf").toURI()).getParentFile()
67+
.getResource("TestCompatUpgradeDowngrade/conf/default_rocksdb.conf").toURI()).getParentFile()
6868

6969
boolean useRocksDbVersion5 = false
7070
boolean useKxxHash = false

Diff for: tests/integration-tests-utils/src/main/java/org/apache/bookkeeper/tests/integration/utils/BookKeeperClusterUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public static void copyToAllBookies(DockerClient docker, String version, File so
165165
for (String containerId : allBookies()) {
166166
CopyArchiveToContainerCmd copyArchiveToContainerCmd = docker.copyArchiveToContainerCmd(containerId);
167167
copyArchiveToContainerCmd.withHostResource(sourceDirectory.getAbsolutePath());
168-
copyArchiveToContainerCmd.withRemotePath("/opt/bookkeeper/" + version + "/conf");
168+
copyArchiveToContainerCmd.withRemotePath("/opt/bookkeeper/" + version);
169169
copyArchiveToContainerCmd.exec();
170170
}
171171
}

0 commit comments

Comments
 (0)