Enable autoscaling in snapshot docs tests (#51474)
This commit enables autoscaling in docs tests based on snapshot builds. This is done so that when the API docs are added to the docs, then the cluster will have been started to enable autoscaling so these APIs are available for testing.
This commit is contained in:
parent
8b851bfc33
commit
40bd271f53
|
@ -42,6 +42,9 @@ buildRestTests.expectedUnconvertedCandidates = [
|
|||
testClusters.integTest {
|
||||
if (singleNode().testDistribution == DEFAULT) {
|
||||
setting 'xpack.license.self_generated.type', 'trial'
|
||||
if ("false".equals(System.getProperty("build.snapshot")) == false) {
|
||||
setting 'xpack.autoscaling.enabled', 'true'
|
||||
}
|
||||
}
|
||||
|
||||
// enable regexes in painless so our tests don't complain about example snippets that use them
|
||||
|
|
Loading…
Reference in New Issue