Commit 1ada48ba authored by unknown's avatar unknown

- 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 b048e1fb
...@@ -432,6 +432,9 @@ sub optimize_cases { ...@@ -432,6 +432,9 @@ sub optimize_cases {
foreach my $tinfo ( @$cases ) foreach my $tinfo ( @$cases )
{ {
# Skip processing if already marked as skipped
next if $tinfo->{skip};
# Replication test needs an adjustment of binlog format # Replication test needs an adjustment of binlog format
if (mtr_match_prefix($tinfo->{'name'}, "rpl")) if (mtr_match_prefix($tinfo->{'name'}, "rpl"))
{ {
...@@ -452,6 +455,7 @@ sub optimize_cases { ...@@ -452,6 +455,7 @@ sub optimize_cases {
# binlog-format # binlog-format
# ======================================================= # =======================================================
if (defined $::used_binlog_format and if (defined $::used_binlog_format and
$test_binlog_format and
$::used_binlog_format ne $test_binlog_format) $::used_binlog_format ne $test_binlog_format)
{ {
$tinfo->{'skip'}= 1; $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