mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
mtr_cases.pl:
Add a slave when running the federated test case
This commit is contained in:
parent
bafab2dd6f
commit
0c72aa5ef2
1 changed files with 8 additions and 0 deletions
|
@ -154,6 +154,14 @@ sub collect_one_test_case($$$$$) {
|
|||
}
|
||||
}
|
||||
|
||||
if ( defined mtr_match_prefix($tname,"federated") )
|
||||
{
|
||||
$tinfo->{'slave_num'}= 1; # Default, use one slave
|
||||
|
||||
# FIXME currently we always restart slaves
|
||||
$tinfo->{'slave_restart'}= 1;
|
||||
}
|
||||
|
||||
# FIXME what about embedded_server + ndbcluster, skip ?!
|
||||
|
||||
my $master_opt_file= "$testdir/$tname-master.opt";
|
||||
|
|
Loading…
Reference in a new issue