Hi Andrei,
I'm not quite sure if this is only a problem of over load, the test
starts to fail on every run on PB2 after push of BUG#49978, so I'm
suspecting some changes make by that fix caused this problem. Added Sven
as the second reviewer. If Sven also think this is only an over load
problem, then let's push this fix.
Andrei Elkin wrote:
> #At file:///home/andrei/MySQL/BZR/2a-23May/mysql-trunk-bugfixing/ based on
> revid:dao-gang.qu@stripped
>
> 3475 Andrei Elkin 2010-12-29
> Bug #59205 Test rpl.rpl_stm_000001 fail on Valgrind with binlog-checksum
> enabled
>
> It was a timeout cause by logics of the test producing rather big volume of
> data.
>
> Adding a valgrind branch in the test having lesser load size so slow valgrind
> has
> a great chance to finish the test.
> @ mysql-test/suite/rpl/t/rpl_stm_000001.test
> decreasing the load size few times on the valgrid env.
> Notice, we seem could drop the general case load to the valgrind's value as
> well,
> if comments about 16k are relevant.
>
> modified:
> mysql-test/suite/rpl/t/rpl_stm_000001.test
> === modified file 'mysql-test/suite/rpl/t/rpl_stm_000001.test'
> --- a/mysql-test/suite/rpl/t/rpl_stm_000001.test 2010-12-19 17:15:12 +0000
> +++ b/mysql-test/suite/rpl/t/rpl_stm_000001.test 2010-12-29 16:51:30 +0000
> @@ -55,6 +55,12 @@ reset slave;
>
> connection master;
> let $1=5000;
> +
> +if (`SELECT $VALGRIND_TEST = 1`)
> +{
> + let $1= 1000;
> +}
> +
> # Generate 16K of relay log
> disable_query_log;
> while ($1)