Commit ced65e21 authored by unknown's avatar unknown

Fix more failures in buildbot.

Server shutdown timeout of 10 seconds in test cases is too little for heavily
loaded test servers.

Fix innodb_bug12902967 to not fail with wrong error log output if we have
warnings about too few AIO handles for InnoDB.

Fix typo which could lead to unnecessarily replacing GTID event with dummy
event.
parent 6b97512b
...@@ -14,8 +14,8 @@ if ($rpl_inited) ...@@ -14,8 +14,8 @@ if ($rpl_inited)
--exec echo "wait" > $_expect_file_name --exec echo "wait" > $_expect_file_name
# Send shutdown to the connected server and give # Send shutdown to the connected server and give
# it 10 seconds to die before zapping it # it 60 seconds to die before zapping it
shutdown_server 10; shutdown_server 60;
# Write file to make mysql-test-run.pl start up the server again # Write file to make mysql-test-run.pl start up the server again
--exec echo "restart" > $_expect_file_name --exec echo "restart" > $_expect_file_name
......
...@@ -24,7 +24,7 @@ alter table t1 add constraint c1 foreign key (f1) references t1(f1); ...@@ -24,7 +24,7 @@ alter table t1 add constraint c1 foreign key (f1) references t1(f1);
perl; perl;
$file = $ENV{error_log}; $file = $ENV{error_log};
open (FILE, '<', $file) or die "can't open(< $file): $!\n"; open (FILE, '<', $file) or die "can't open(< $file): $!\n";
print ((grep { /^InnoDB:/ and not /aio/i } <FILE>)[-2..-1]); print ((grep { /^InnoDB:/ and not /aio/i and not /io_setup\(\) attempt [0-9]+ failed/ } <FILE>)[-2..-1]);
EOF EOF
drop table t1; drop table t1;
...@@ -6100,7 +6100,7 @@ Gtid_log_event::make_compatible_event(String *packet, bool *need_dummy_event, ...@@ -6100,7 +6100,7 @@ Gtid_log_event::make_compatible_event(String *packet, bool *need_dummy_event,
flags2= (*packet)[ev_offset + LOG_EVENT_HEADER_LEN + 12]; flags2= (*packet)[ev_offset + LOG_EVENT_HEADER_LEN + 12];
if (flags2 & FL_STANDALONE) if (flags2 & FL_STANDALONE)
{ {
if (need_dummy_event) if (*need_dummy_event)
return Query_log_event::dummy_event(packet, ev_offset, checksum_alg); return Query_log_event::dummy_event(packet, ev_offset, checksum_alg);
else else
return 0; return 0;
......
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