mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-26 06:46:10 +00:00
Fix CliErrorsIT in sql security tests
It was disabled because the CLI didn't work with security but we've since fixed that so we can enable it. Original commit: elastic/x-pack-elasticsearch@8d9b5ad89b
This commit is contained in:
parent
852af7de57
commit
69a326dd94
@ -5,15 +5,17 @@
|
||||
*/
|
||||
package org.elasticsearch.xpack.qa.sql.security;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
import org.elasticsearch.xpack.qa.sql.cli.ErrorsTestCase;
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/2074")
|
||||
public class CliErrorsIT extends ErrorsTestCase {
|
||||
// NOCOMMIT get this working with security....
|
||||
@Override
|
||||
protected Settings restClientSettings() {
|
||||
return RestSqlIT.securitySettings();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String esUrlPrefix() {
|
||||
return CliFetchSizeIT.securityEsUrlPrefix();
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,7 @@ public class CliFetchSizeIT extends FetchSizeTestCase {
|
||||
static String securityEsUrlPrefix() {
|
||||
return "test_admin:x-pack-test-password@";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Settings restClientSettings() {
|
||||
return RestSqlIT.securitySettings();
|
||||
|
Loading…
x
Reference in New Issue
Block a user