OpenSearch/x-pack/qa/sql/security/no-ssl/build.gradle

18 lines
552 B
Groovy

integTestRunner {
systemProperty 'tests.ssl.enabled', 'false'
}
integTestCluster {
setting 'xpack.license.self_generated.type', 'trial'
waitCondition = { node, ant ->
File tmpFile = new File(node.cwd, 'wait.success')
ant.get(src: "http://${node.httpUri()}/_cluster/health?wait_for_nodes=>=${numNodes}&wait_for_status=yellow",
dest: tmpFile.toString(),
username: 'test_admin',
password: 'x-pack-test-password',
ignoreerrors: true,
retries: 10)
return tmpFile.exists()
}
}