wiki.techinc.nl/tests/phpunit/integration/includes/db
Lucas Werkmeister c67e3c8b6e rdbms: Allow interrupted sleep() to return 1
According to the docs [1] (and MDEV-10529 [2]), returning 1 rather than
erroring out is actually what’s supposed to happen when a query that
does nothing except sleep() is timed out, so I guess the fact that this
test mostly worked when expecting a timeout error points to some bug in
MariaDB. Let’s try to adapt the test to allow either a 1 return (timeout
but no error) or a timeout error.

[1]: https://mariadb.com/kb/en/sleep/
[2]: https://jira.mariadb.org/browse/MDEV-10529

Bug: T365596
Change-Id: I481fff8534efb12ba91df23c8fa191d64724c010
2024-08-02 13:42:48 +02:00
..
DatabaseMysqlTest.php rdbms: Allow interrupted sleep() to return 1 2024-08-02 13:42:48 +02:00
DatabasePostgresTest.php Replace db with getDb for Tests 2024-06-23 23:47:56 +01:00
DatabaseSqliteTest.php Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
DatabaseSqliteUpgradeTest.php Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30