Skip to content

Commit

Permalink
[Test] Increase length of test password for FIPS (#86948)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ywangd authored May 20, 2022
1 parent 4b2d553 commit 74305b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public void assertKeystorePassword(String password) throws Exception {
public void testKeystorePassword() throws Exception {
assertKeystorePassword(null); // no keystore exists
assertKeystorePassword("");
assertKeystorePassword("dummypassword");
assertKeystorePassword("a-dummy-password");
}

public void testCloseStopsServer() throws Exception {
Expand Down

0 comments on commit 74305b5

Please sign in to comment.