polardbxengine/mysql-test/suite/innodb/t/innodb_redo_debug_4.test

52 lines
1.8 KiB
Plaintext

#------------------------------------------------------------------------------
# Redo log optimization
# Test aims to verify recovery works when server is stopped in debug point
# 1) log_flush_before_users_notify
# 2) log_flush_before_notifier_notify
# 3) log_flush_notifier_after_event_reset
# 4) log_flush_notifier_before_wait
# 5) log_flush_notifier_before_check
#------------------------------------------------------------------------------
# Test uses debug binary
--source include/have_debug.inc
--source include/have_debug_sync.inc
--source include/not_valgrind.inc
# Avoid CrashReporter popup on Mac
--source include/not_crashrep.inc
--echo # Test with log_flush_before_users_notify
--source include/expect_crash.inc
# No. of parallel client running load
let client_cnt=5;
let debug_point=log_flush_before_users_notify;
--source suite/innodb/include/innodb_redo_debug.inc
--echo # Test with log_flush_before_notifier_notify
--source include/expect_crash.inc
# No. of parallel client running load
let client_cnt=5;
let debug_point=log_flush_before_notifier_notify;
--source suite/innodb/include/innodb_redo_debug.inc
--echo # Test with log_notifier_after_event_reset
--source include/expect_crash.inc
# No. of parallel client running load
let client_cnt=5;
let debug_point=log_flush_notifier_after_event_reset;
--source suite/innodb/include/innodb_redo_debug.inc
--echo # Test with log_notifier_before_wait
--source include/expect_crash.inc
# No. of parallel client running load
let client_cnt=5;
let debug_point=log_flush_notifier_before_wait;
--source suite/innodb/include/innodb_redo_debug.inc
--echo # Test with log_notifier_before_check
--source include/expect_crash.inc
# No. of parallel client running load
let client_cnt=5;
let debug_point=log_flush_notifier_before_check;
--source suite/innodb/include/innodb_redo_debug.inc