- Don't process already skipped testcases one more time

in optimization phase
- Don't check specified binlog format if hasn't been assigned one
parent 6e73b86b
......@@ -432,6 +432,9 @@ sub optimize_cases {
foreach my $tinfo ( @$cases )
{
# Skip processing if already marked as skipped
next if $tinfo->{skip};
# Replication test needs an adjustment of binlog format
if (mtr_match_prefix($tinfo->{'name'}, "rpl"))
{
......@@ -452,6 +455,7 @@ sub optimize_cases {
# binlog-format
# =======================================================
if (defined $::used_binlog_format and
$test_binlog_format and
$::used_binlog_format ne $test_binlog_format)
{
$tinfo->{'skip'}= 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment