mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix test to do proper cleanup.
This commit is contained in:
@ -89,6 +89,19 @@ SELECT * FROM t1;
|
|||||||
--echo # t1 yes on expecting NOT FOUND
|
--echo # t1 yes on expecting NOT FOUND
|
||||||
-- let SEARCH_FILE=$t1_IBD
|
-- let SEARCH_FILE=$t1_IBD
|
||||||
-- source include/search_pattern_in_file.inc
|
-- source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
|
--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||||
|
--shutdown_server
|
||||||
|
--source include/wait_until_disconnected.inc
|
||||||
|
--remove_file $MYSQLTEST_VARDIR/keys1.txt
|
||||||
|
--write_file $MYSQLTEST_VARDIR/keys1.txt
|
||||||
|
1;770A8A65DA156D24EE2A093277530142
|
||||||
|
4;770A8A65DA156D24EE2A093277530143
|
||||||
|
EOF
|
||||||
|
|
||||||
|
--exec echo "restart:--innodb-encrypt-tables --innodb-stats-persistent --plugin-load-add=file_key_management.so --file-key-management --file-key-management-filename=$MYSQLTEST_VARDIR/keys1.txt" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||||
|
--enable_reconnect
|
||||||
|
--source include/wait_until_connected_again.inc
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
|
||||||
# reset system
|
# reset system
|
||||||
|
Reference in New Issue
Block a user