mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix some failing tests on Windows
- ensure that mtr supressions table is flushed before doing controlled crash and restart - use DBUG_SUICIDE() rather than abort() in partition tests - avoids a crash message/warning - disable perfschema all_instances test on Windows- there are legitimate reasons for output to be different on Unix (some different threads, some different locks), the differences are expected to grow in the future, e.g with threadpool.
This commit is contained in:
@@ -71,9 +71,8 @@
|
||||
#ifdef WITH_PARTITION_STORAGE_ENGINE
|
||||
#include "ha_partition.h"
|
||||
|
||||
/* TODO: Change abort() to DBUG_SUICIDE() when bug#52002 is pushed */
|
||||
#define ERROR_INJECT_CRASH(code) \
|
||||
DBUG_EVALUATE_IF(code, (abort(), 0), 0)
|
||||
DBUG_EVALUATE_IF(code, (DBUG_SUICIDE(), 0), 0)
|
||||
#define ERROR_INJECT_ERROR(code) \
|
||||
DBUG_EVALUATE_IF(code, (my_error(ER_UNKNOWN_ERROR, MYF(0)), TRUE), 0)
|
||||
|
||||
|
Reference in New Issue
Block a user