Skip to content

Commit

Permalink
[Backport 2.12] Fixes password assignment for integTest when using re…
Browse files Browse the repository at this point in the history
…mote cluster (#1091) (#1094)
  • Loading branch information
DarshitChanpura authored Feb 8, 2024
1 parent 1162fd3 commit 269f9f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,8 @@ integTest {
systemProperty "https", System.getProperty("https")
systemProperty "security", System.getProperty("security")
systemProperty "user", System.getProperty("user", "admin")
systemProperty "password", System.getProperty("password", "admin")
// a remote cluster requires a custom password to be passed. This password must be a custom password.
systemProperty "password", usingRemoteCluster ? System.getProperty("password", "myStrongPassword123!") : "admin" // defaulting to admin since security plugin's demo config tool is not used
// Tell the test JVM if the cluster JVM is running under a debugger so that tests can use longer timeouts for
// requests. The 'doFirst' delays reading the debug setting on the cluster till execution time.
doFirst {
Expand Down

0 comments on commit 269f9f8

Please sign in to comment.