mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Update Exception messages in test.py
This commit is contained in:
parent
483e26cf2f
commit
465cc36526
@ -68,14 +68,14 @@ def test_kerberos_auth_with_keytab(kerberos_cluster):
|
||||
|
||||
def test_kerberos_auth_without_keytab(kerberos_cluster):
|
||||
assert (
|
||||
"DB::Exception: : Authentication failed: password is incorrect or there is no user with such name."
|
||||
"DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name."
|
||||
in make_auth(instance2)
|
||||
)
|
||||
|
||||
|
||||
def test_bad_path_to_keytab(kerberos_cluster):
|
||||
assert (
|
||||
"DB::Exception: : Authentication failed: password is incorrect or there is no user with such name."
|
||||
"DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name."
|
||||
in make_auth(instance3)
|
||||
)
|
||||
assert instance3.contains_in_log("Keytab file not found")
|
||||
|
Loading…
Reference in New Issue
Block a user