← Back
Editing: gr_uninstall_while_disabled.test
################################################################################ # Validate that when Group Replication is disabled command INSTALL and UNINSTALL # plugin do behave properly. # # Test: # 0. The test requires one server. # 1. Uninstall plugin while it is disabled. # 2. Try install plugin while it is disabled. # Then uninstall it again twice. ################################################################################ --source include/force_restart.inc --source ../inc/have_group_replication_plugin_base.inc --echo --echo ############################################################ --echo # 1. Uninstall plugin while it is disabled. --echo # See group_replication_uninstall_while_disabled-master.opt --echo # file. UNINSTALL PLUGIN group_replication; --echo --echo ############################################################ --echo # 2. Try install plugin while it is disabled. --echo # Then uninstall it again twice. --replace_result $GROUP_REPLICATION GROUP_REPLICATION --eval INSTALL PLUGIN group_replication SONAME '$GROUP_REPLICATION' UNINSTALL PLUGIN group_replication; --error ER_SP_DOES_NOT_EXIST UNINSTALL PLUGIN group_replication;
Save File
Cancel