mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-10225: bump impyla version to 0.17a1
Update a couple of tests with the new improved error messages. Change-Id: I70a0e883275f3c29e2b01fd5bab7725857c8a1ed Reviewed-on: http://gerrit.cloudera.org:8080/16562 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
committed by
Impala Public Jenkins
parent
2fd6f5bc5a
commit
b8a2b75466
@@ -96,10 +96,12 @@ public class LdapImpylaHttpTest {
|
||||
RunShellCommand.Run(validCmd, /*shouldSucceed*/ true, testUser_, "");
|
||||
// 2. Invalid username password combination. Should fail.
|
||||
String[] invalidCmd = buildCommand("foo", "bar", null);
|
||||
RunShellCommand.Run(invalidCmd, /*shouldSucceed*/ false, "", "EOFError");
|
||||
RunShellCommand.Run(
|
||||
invalidCmd, /*shouldSucceed*/ false, "", "HTTP code 401: Unauthorized");
|
||||
// 3. Without username and password. Should fail.
|
||||
String[] noAuthCmd = {"impala-python", helper_, "--query", query_};
|
||||
RunShellCommand.Run(noAuthCmd, /*shouldSucceed*/ false, "", "EOFError");
|
||||
RunShellCommand.Run(
|
||||
noAuthCmd, /*shouldSucceed*/ false, "", "HTTP code 401: Unauthorized");
|
||||
}
|
||||
|
||||
private String[] buildCommand(String user, String password, String httpPath) {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
# after the toolchain is bootstrapped. Installed after requirements.txt
|
||||
|
||||
argparse == 1.4.0
|
||||
impyla == 0.16.2
|
||||
impyla == 0.17a1
|
||||
bitarray == 1.2.1
|
||||
sasl == 0.2.1
|
||||
six == 1.14.0
|
||||
|
||||
Reference in New Issue
Block a user