diff options
Diffstat (limited to 'mysql-test/suite/storage_engine/alter_tablespace.test')
-rw-r--r-- | mysql-test/suite/storage_engine/alter_tablespace.test | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mysql-test/suite/storage_engine/alter_tablespace.test b/mysql-test/suite/storage_engine/alter_tablespace.test index 5dc62b659c6..3c4910069a0 100644 --- a/mysql-test/suite/storage_engine/alter_tablespace.test +++ b/mysql-test/suite/storage_engine/alter_tablespace.test @@ -81,8 +81,19 @@ EOF # Adding a warning suppression based on what InnoDB currently does # when it attempts to access a table without an *.ibd file --disable_query_log - eval CALL mtr.add_suppression('$storage_engine: Error:.*'); + eval CALL mtr.add_suppression('$storage_engine: Error:'); --enable_query_log + + # The sleep below is a very bad style, but so far there seems to be + # no reliable way to prevent a failure on Windows, which is caused + # by the fact that the error message that we added the above suppression for, + # on Windows appears in the error log with a delay, so MTR + # thinks the error was raised on server shutdown, and the suppression + # does not work. Adding it globally is not an option because + # it must be caught in other tests which do not produce the failure + # intentionally + + --sleep 1 } DROP TABLE t1; |