mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Make it possible to define how many slaves to start by
writing --slave-num=n in <testname>-master.opt file
This commit is contained in:
@@ -340,6 +340,13 @@ sub collect_one_test_case($$$$$$$) {
|
||||
next;
|
||||
}
|
||||
|
||||
$value= mtr_match_prefix($opt, "--slave-num=");
|
||||
if ( defined $value )
|
||||
{
|
||||
$tinfo->{'slave_num'}= $value;
|
||||
next;
|
||||
}
|
||||
|
||||
$value= mtr_match_prefix($opt, "--result-file=");
|
||||
if ( defined $value )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user