Skip to content

Commit d1a780c

Browse files
update hard-coded jar in test
1 parent 9a86fb5 commit d1a780c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,14 +212,14 @@ public void test50AutoConfigurationFailsWhenCertificatesNotGenerated() throws Ex
212212
FileUtils.assertPathsDoNotExist(installation.data);
213213
Path tempDir = createTempDir("bc-backup");
214214
Files.move(
215-
installation.lib.resolve("tools").resolve("security-cli").resolve("bcprov-jdk18on-1.78.1.jar"),
216-
tempDir.resolve("bcprov-jdk18on-1.78.1.jar")
215+
installation.lib.resolve("tools").resolve("security-cli").resolve("bcprov-jdk18on-1.79.jar"),
216+
tempDir.resolve("bcprov-jdk18on-1.79.jar")
217217
);
218218
Shell.Result result = runElasticsearchStartCommand(null, false, false);
219219
assertElasticsearchFailure(result, "java.lang.NoClassDefFoundError: org/bouncycastle/", null);
220220
Files.move(
221-
tempDir.resolve("bcprov-jdk18on-1.78.1.jar"),
222-
installation.lib.resolve("tools").resolve("security-cli").resolve("bcprov-jdk18on-1.78.1.jar")
221+
tempDir.resolve("bcprov-jdk18on-1.79.jar"),
222+
installation.lib.resolve("tools").resolve("security-cli").resolve("bcprov-jdk18on-1.79.jar")
223223
);
224224
Platforms.onWindows(() -> sh.chown(installation.config));
225225
FileUtils.rm(tempDir);

0 commit comments

Comments
 (0)