mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
* Remove deprecated forConfigurationTime usage
This commit is contained in:
parent
56f8e477a7
commit
468bef1b9e
10 changed files with 18 additions and 20 deletions
|
@ -135,7 +135,7 @@ testClusters.configureEach {
|
|||
extraConfigFile 'roles.yml', file('roles.yml')
|
||||
user username: clusterUserNameProvider.get(),
|
||||
password: clusterPasswordProvider.get(),
|
||||
role: providers.systemProperty('tests.rest.cluster.role').orElse('admin').forUseAtConfigurationTime().get()
|
||||
role: providers.systemProperty('tests.rest.cluster.role').orElse('admin').get()
|
||||
user username: 'admin_user', password: 'admin-password'
|
||||
|
||||
extraConfigFile nodeCert.name, nodeCert
|
||||
|
|
|
@ -18,11 +18,9 @@ tasks.matching{ it.name == "javaRestTest" }.configureEach {
|
|||
onlyIf { BuildParams.inFipsJvm == false}
|
||||
systemProperty 'tests.rest.cluster.username', providers.systemProperty('tests.rest.cluster.username')
|
||||
.orElse('test_user')
|
||||
.forUseAtConfigurationTime()
|
||||
.get()
|
||||
systemProperty 'tests.rest.cluster.password', providers.systemProperty('tests.rest.cluster.password')
|
||||
.orElse('test-user-password')
|
||||
.forUseAtConfigurationTime()
|
||||
.get()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue