Set missing feature flag in searchable snapshots QA Azure test (#54861)

This commit is contained in:
Tanguy Leroux 2020-04-07 11:06:50 +02:00
parent 50186b2580
commit aae12bb7a2

View file

@ -16,7 +16,7 @@
* specific language governing permissions and limitations * specific language governing permissions and limitations
* under the License. * under the License.
*/ */
import org.elasticsearch.gradle.info.BuildParams
import static org.elasticsearch.gradle.PropertyNormalization.IGNORE_VALUE import static org.elasticsearch.gradle.PropertyNormalization.IGNORE_VALUE
apply plugin: 'elasticsearch.standalone-rest-test' apply plugin: 'elasticsearch.standalone-rest-test'
@ -73,6 +73,10 @@ testClusters.integTest {
testDistribution = 'DEFAULT' testDistribution = 'DEFAULT'
plugin file(repositoryPlugin.bundlePlugin.archiveFile) plugin file(repositoryPlugin.bundlePlugin.archiveFile)
if (BuildParams.isSnapshotBuild() == false) {
systemProperty 'es.searchable_snapshots_feature_enabled', 'true'
}
keystore 'azure.client.searchable_snapshots.account', azureAccount keystore 'azure.client.searchable_snapshots.account', azureAccount
keystore 'azure.client.searchable_snapshots.key', azureKey keystore 'azure.client.searchable_snapshots.key', azureKey
keystore 'azure.client.searchable_snapshots.sas_token', azureSasToken keystore 'azure.client.searchable_snapshots.sas_token', azureSasToken