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.
This commit is contained in:
parent
6b97512b21
commit
ced65e21c6
@ -14,8 +14,8 @@ if ($rpl_inited)
|
||||
--exec echo "wait" > $_expect_file_name
|
||||
|
||||
# Send shutdown to the connected server and give
|
||||
# it 10 seconds to die before zapping it
|
||||
shutdown_server 10;
|
||||
# it 60 seconds to die before zapping it
|
||||
shutdown_server 60;
|
||||
|
||||
# Write file to make mysql-test-run.pl start up the server again
|
||||
--exec echo "restart" > $_expect_file_name
|
||||
|
@ -24,7 +24,7 @@ alter table t1 add constraint c1 foreign key (f1) references t1(f1);
|
||||
perl;
|
||||
$file = $ENV{error_log};
|
||||
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
|
||||
|
||||
drop table t1;
|
||||
|
@ -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];
|
||||
if (flags2 & FL_STANDALONE)
|
||||
{
|
||||
if (need_dummy_event)
|
||||
if (*need_dummy_event)
|
||||
return Query_log_event::dummy_event(packet, ev_offset, checksum_alg);
|
||||
else
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user