mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01: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:
parent
e3a24797fd
commit
5c91177542
1 changed files with 7 additions and 0 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue