8000 BUG#35544123: Kerberos unit tests configuration is outdated · mysql/mysql-connector-python@0d73fed · GitHub
[go: up one dir, main page]

Skip to content

Commit 0d73fed

Browse files
committed
BUG#35544123: Kerberos unit tests configuration is outdated
The K 8000 erberos configuration realm has changed as described in BUG#35168402. As a consequence, running the Kerberos unit tests produce issues. This patch updates the Kerberos testing configuration according to what's described in BUG#35168402. Change-Id: Id65dc5c2a3f513739088422d0d2b5e1c59f0e593
1 parent 5a7fd23 commit 0d73fed

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

CHANGES.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ Copyright (c) 2009, 2023, Oracle and/or its affiliates.
88
Full release notes:
99
http://dev.mysql.com/doc/relnotes/connector-python/en/
1010

11+
v8.2.0
12+
======
13+
14+
- BUG#35544123: Kerberos unit tests configuration is outdated
15+
1116
v8.1.0
1217
======
1318

tests/data/kerberos/mtr.keytab

407 Bytes
Binary file not shown.

tests/data/kerberos/users.keytab

171 Bytes
Binary file not shown.

tests/test_authentication.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ class MySQLKerberosAuthPluginTests(tests.MySQLConnectorTests):
491491
user = "test1"
492492
password = "Testpw1"
493493
other_user = "test3"
494-
realm = "MYSQL.LOCAL"
494+
realm = "MTR.LOCAL"
495495
badrealm = "MYSQL2.LOCAL"
496496
krb5ccname = os.environ.get("KRB5CCNAME")
497497
kinit = os.environ.get("KINIT", "kinit")
@@ -501,7 +501,7 @@ class MySQLKerberosAuthPluginTests(tests.MySQLConnectorTests):
501501

502502
@classmethod
503503
def setUpClass(cls):
504-
if not tests.is_host_reachable("100.103.18.98"):
504+
if not tests.is_host_reachable("100.103.25.98"):
505505
cls.skip_reason = "Kerberos server is not reachable"
506506
return
507507

0 commit comments

Comments
 (0)
0