Skip to content

Commit 74305b5

Browse files
authored
[Test] Increase length of test password for FIPS (#86948)
Password must be at least 114 bits in FIPS mode. This PR fixes the password length in the new ServerCliTests so it passes in FIPS mode. Relates: #85758 PS: The test [failed](https://gradle-enterprise.elastic.co/s/mrlw6o27onxee/tests/:distribution:tools:server-cli:test/org.elasticsearch.server.cli.ServerCliTests/testKeystorePassword) on my PR CI.
1 parent 4b2d553 commit 74305b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/tools/server-cli/src/test/java/org/elasticsearch/server/cli/ServerCliTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public void assertKeystorePassword(String password) throws Exception {
251251
public void testKeystorePassword() throws Exception {
252252
assertKeystorePassword(null); // no keystore exists
253253
assertKeystorePassword("");
254-
assertKeystorePassword("dummypassword");
254+
assertKeystorePassword("a-dummy-password");
255255
}
256256

257257
public void testCloseStopsServer() throws Exception {

0 commit comments

Comments
 (0)