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 |
||
|---|---|---|
| .. | ||
| DatabaseMysqlTest.php | ||
| DatabasePostgresTest.php | ||
| DatabaseSqliteTest.php | ||
| DatabaseSqliteUpgradeTest.php | ||