mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
mtr: сhange the default setting for the port group size parameter
Some galera tests starts 6 galera nodes. Each galera node requires three ports: 6*3 = 18. Plus 6 ports are needed for 6 mariadbd servers. Since the number of ports is rounded up to 10 everywhere in mtr, we will take 30 as the default value for the port group size parameter.
This commit is contained in:
@ -335,7 +335,11 @@ my $opt_max_test_fail= env_or_val(MTR_MAX_TEST_FAIL => 10);
|
||||
my $opt_core_on_failure= 0;
|
||||
|
||||
my $opt_parallel= $ENV{MTR_PARALLEL} || 1;
|
||||
my $opt_port_group_size = $ENV{MTR_PORT_GROUP_SIZE} || 20;
|
||||
# Some galera tests starts 6 galera nodes. Each galera node requires
|
||||
# three ports: 6*3 = 18. Plus 6 ports are needed for 6 mariadbd servers.
|
||||
# Since the number of ports is rounded up to 10 everywhere, we will
|
||||
# take 30 as the default value:
|
||||
my $opt_port_group_size = $ENV{MTR_PORT_GROUP_SIZE} || 30;
|
||||
|
||||
# lock file to stop tests
|
||||
my $opt_stop_file= $ENV{MTR_STOP_FILE};
|
||||
|
Reference in New Issue
Block a user