From: Daniel Black Date: Sun, 12 Sep 2021 05:17:50 +0000 (-0400) Subject: test update_nowait - added support in MariaDB-10.3 X-Git-Tag: rel_1_4_24~18^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72a27c5d7c1a945deaded782e89754fce717951d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git test update_nowait - added support in MariaDB-10.3 MariaDB supported NOWAIT in 10.3. ref: https://mariadb.com/kb/en/wait-and-nowait/ This pull request is: - [X] very trivial test change - [ ] A documentation / typographical error fix - Good to go, no issue or tests are needed - [ ] A short code fix - please include the issue number, and create an issue if none exists, which must include a complete example of the issue. one line code fixes without an issue and demonstration will not be accepted. - Please include: `Fixes: #` in the commit message - please include tests. one line code fixes without tests will not be accepted. - [ ] A new feature implementation - please include the issue number, and create an issue if none exists, which must include a complete example of how the feature would look. - Please include: `Fixes: #` in the commit message - please include tests. **Have a nice day!** Closes: #7009 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7009 Pull-request-sha: 4fa750e3d34638be7e9583d849216f6d90ca88fc Change-Id: I4ee8cf2cf84daf7af3300e6f80671375232fcf02 --- diff --git a/test/orm/test_versioning.py b/test/orm/test_versioning.py index 54500e599d..43a6ea53bb 100644 --- a/test/orm/test_versioning.py +++ b/test/orm/test_versioning.py @@ -163,6 +163,7 @@ class VersioningTest(fixtures.MappedTest): ), Column("version_id", Integer, nullable=False), Column("value", String(40), nullable=False), + test_needs_acid=True, ) @classmethod diff --git a/test/requirements.py b/test/requirements.py index 644c01f758..221a1dafa2 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -623,7 +623,7 @@ class DefaultRequirements(SuiteRequirements): def update_nowait(self): """Target database must support SELECT...FOR UPDATE NOWAIT""" return skip_if( - ["firebird", "mssql", "mysql", "mariadb", "sqlite", "sybase"], + ["firebird", "mssql", "mysql", "mariadb<10.3", "sqlite", "sybase"], "no FOR UPDATE NOWAIT support", )