mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 23:34:34 +01:00
1b7e566683
bugfix: garbage in PLUGIN_VAR_STR variables when INSTALL'ing a plugin mysql-test/include/default_mysqld.cnf: disable feedback plugin by default. when enabled - tag is as a test run
24 lines
637 B
Text
24 lines
637 B
Text
source t/feedback_plugin_load.test;
|
|
source include/big_test.inc;
|
|
|
|
if (!$MTR_FEEDBACK_PLUGIN) {
|
|
skip MTR_FEEDBACK_PLUGIN is not set;
|
|
}
|
|
|
|
#
|
|
# Yep. The plugin waits 5 minutes before sending anything,
|
|
# and there's no way to force it to send anything sooner.
|
|
# Let's wait, and hope that mtr is started with --parallel and
|
|
# is doing some work in other workers.
|
|
#
|
|
sleep 310;
|
|
source include/restart_mysqld.inc;
|
|
|
|
replace_result https http;
|
|
perl;
|
|
$log_error= $ENV{'MYSQLTEST_VARDIR'} . '/log/mysqld.1.err';
|
|
open(LOG, '<', $log_error) or die "open(< $log_error): $!";
|
|
/feedback plugin:.*/ && print "$&\n" while $_=<LOG>;
|
|
close LOG;
|
|
EOF
|
|
|