Skip to content

fix test unix_socket for MariaDB-10.4 #907

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vim: sw=2 ts=2 sts=2 expandtab

dist: xenial
dist: bionic
language: python
cache: pip

Expand All @@ -13,16 +13,18 @@ matrix:
- DB=mariadb:5.5
python: "3.5"
- env:
- DB=mariadb:10.0
- DB=mariadb:10.2
python: "3.6"
- env:
- DB=mariadb:10.1
- DB=mariadb:10.3
- TEST_MARIADB_AUTH=yes
python: "pypy3"
- env:
- DB=mariadb:10.2
- DB=mariadb:10.4
- TEST_MARIADB_AUTH=yes
python: "2.7"
- env:
- DB=mariadb:10.3
- DB=mariadb:10.5
- TEST_MARIADB_AUTH=yes
python: "3.7"
- env:
Expand Down
2 changes: 1 addition & 1 deletion pymysql/tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class TestAuthentication(base.PyMySQLTestCase):
for r in cur:
if (r[1], r[2]) != (u'ACTIVE', u'AUTHENTICATION'):
continue
if r[3] == u'auth_socket.so':
if r[3] == u'auth_socket.so' or r[0] == u'unix_socket':
socket_plugin_name = r[0]
socket_found = True
elif r[3] == u'dialog_examples.so':
Expand Down