← Back to team overview

maria-developers team mailing list archive

Re: [Commits] Rev 4507: MDEV-7157 plugins.server_audit fails sporadically in buildbot. in file:///home/hf/wmar/mdev-7157/

 

<holyfoot@xxxxxxxxxxxx> writes:

> ------------------------------------------------------------
> revno: 4507
> revision-id: holyfoot@xxxxxxxxxxxx-20141123225345-p2xd7yrklzee10u1
> parent: sergii@xxxxxxxxx-20141121192039-d0lv6cj96kg5pw02
> committer: Alexey Botchkov <holyfoot@xxxxxxxxxxxx>
> branch nick: mdev-7157
> timestamp: Mon 2014-11-24 02:53:45 +0400
> message:
>   MDEV-7157 plugins.server_audit fails sporadically in buildbot.
>     Records can get to the different place in the log when multiple thread
>       are logged. So the delay added to let the record be saved on the same
>       place.
> === modified file 'mysql-test/suite/plugins/t/server_audit.test'
> --- a/mysql-test/suite/plugins/t/server_audit.test	2014-03-26 19:58:27 +0000
> +++ b/mysql-test/suite/plugins/t/server_audit.test	2014-11-23 22:53:45 +0000
> @@ -43,6 +43,7 @@ show variables like 'server_audit%';
>  set global server_audit_mode=1;
>  set global server_audit_events='';
>  create database sa_db;
> +--sleep 2

The correct way to do this is to use DEBUG_SYNC...

 - Kristian.