Fix SQL test

Original commit: elastic/x-pack-elasticsearch@14d07c2607
This commit is contained in:
Nik Everett 2017-10-27 17:38:34 -04:00
parent b91e9d85e9
commit f92684c436
2 changed files with 4 additions and 5 deletions

View File

@ -14,7 +14,6 @@ import java.sql.Statement;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.StringJoiner;
import static org.elasticsearch.xpack.qa.sql.jdbc.JdbcAssert.assertResultSets;
import static org.elasticsearch.xpack.qa.sql.jdbc.JdbcIntegrationTestCase.elasticsearchAddress;
@ -142,4 +141,4 @@ public class JdbcSecurityIT extends SqlSecurityTestCase {
public JdbcSecurityIT() {
super(new JdbcActions());
}
}
}

View File

@ -75,7 +75,7 @@ public class ConnectionConfiguration {
public static final String AUTH_PASS = "pass";
protected static final Set<String> OPTION_NAMES = new LinkedHashSet<>(
Arrays.asList(CONNECT_TIMEOUT, NETWORK_TIMEOUT, QUERY_TIMEOUT, PAGE_TIMEOUT, PAGE_SIZE));
Arrays.asList(CONNECT_TIMEOUT, NETWORK_TIMEOUT, QUERY_TIMEOUT, PAGE_TIMEOUT, PAGE_SIZE, AUTH_USER, AUTH_PASS));
static {
OPTION_NAMES.addAll(SslConfig.OPTION_NAMES);
@ -195,7 +195,7 @@ public class ConnectionConfiguration {
public int pageSize() {
return pageSize;
}
// auth
public String authUser() {
return user;
@ -204,4 +204,4 @@ public class ConnectionConfiguration {
public String authPass() {
return pass;
}
}
}