Skip to content

Commit

Permalink
Skipping a test that fails on CI/Py3.13/MySQL/gevent. The error is un…
Browse files Browse the repository at this point in the history
…likely to be ours.
  • Loading branch information
jamadden committed Oct 11, 2024
1 parent c6dd06d commit aa141b6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/relstorage/tests/blob/blob_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,21 @@ def test_exceed_size_and_shrink(self):


def test_many_clients(self):
# pylint:disable=protected-access
print()
print('Test many clients', self.blob_storage._adapter.connmanager.driver.__name__)
print()
if sys.version_info[:2] == (3, 13) \
and self.blob_storage._adapter.connmanager.driver.__name__ == 'gevent MySQLdb' \
and RUNNING_ON_CI:
raise self.skipTest(
"""
Every verification attempt produces
OperationalError(2013, 'Lost connection to MySQL server during query').
It is not clear where the error lies, gevent or mysqlclient, but
it shouldn't be here.
"""
)
# Now let see if we can stress things a bit. We'll create many clients
# and get them to pound on the blobs all at once to see if we can
# provoke problems:
Expand Down

0 comments on commit aa141b6

Please sign in to comment.