Update Exception messages in test.py

This commit is contained in:
Roman Vasin 2022-12-26 13:17:22 +00:00
parent 483e26cf2f
commit 465cc36526

View File

@ -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")