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:
Nik Everett 2017-10-12 12:40:58 -04:00
parent 852af7de57
commit 69a326dd94
2 changed files with 6 additions and 3 deletions

View File

@ -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();
}
}

View File

@ -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();