mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
mtr: fix the check where a combination is pre-selected
if all options from a combination from the combinations file are already present in the server's list of options, then don't try to run tests in other combinations from this file. old behavior was: if at least one option from a combination is already present in the list...
This commit is contained in:
@ -623,8 +623,10 @@ sub make_combinations($$@)
|
||||
{
|
||||
# Skip all other combinations if the values they change
|
||||
# are already fixed in master_opt or slave_opt
|
||||
if (My::Options::is_set($test->{master_opt}, $comb->{comb_opt}) &&
|
||||
My::Options::is_set($test->{slave_opt}, $comb->{comb_opt}) ){
|
||||
# (empty combinations are not considered a subset of anything)
|
||||
if (@{$comb->{comb_opt}} &&
|
||||
My::Options::is_subset($test->{master_opt}, $comb->{comb_opt}) &&
|
||||
My::Options::is_subset($test->{slave_opt}, $comb->{comb_opt}) ){
|
||||
|
||||
$test_combs->{$comb->{name}} = 2;
|
||||
|
||||
|
Reference in New Issue
Block a user