Skip to content

Commit

Permalink
MyRocks: Add files lost during the merge
Browse files Browse the repository at this point in the history
Include files that upstream has in mysql-test/include and so they were
not picked up by the merge process
  • Loading branch information
spetrunia committed Apr 16, 2018
1 parent ce4149f commit 40bed2d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--source include/shutdown_mysqld.inc

# Expect the server to fail to come up with these options
--error 1
--exec $MYSQLD_CMD --plugin_load=$HA_ROCKSDB_SO $_mysqld_option

# Restart the server with the default options
--source include/start_mysqld.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Include this script only after using shutdown_mysqld.inc
# where $_expect_file_name was initialized.
# Write file to make mysql-test-run.pl start up the server again
--exec echo "restart:$_mysqld_option" > $_expect_file_name

# Turn on reconnect
--enable_reconnect

# Call script that will poll the server waiting for it to be back online again
--source include/wait_until_connected_again.inc

# Turn off reconnect again
--disable_reconnect

0 comments on commit 40bed2d

Please sign in to comment.