← Back to team overview

maria-developers team mailing list archive

Re: Doubt in bin logging for CREATE VIEW

 

sriram patil <spsrirampatil@xxxxxxxxx> writes:

> I have not yet figured out how to write automated test cases for
> replication, but will do that soon.

Here is one existing test case that should be a good simple example as a
starting point for this, when you get to it:

    mysql-test/suite/rpl/t/rpl_locale.test

You run the test case like this (in mysql-test/ sub-directory):

    ./mtr rpl.rpl_locate

There are many more existing tests with many more details, but this tests
shows the basic of getting mysql-test-run to setup the two servers for
replication, and for waiting for the slave to catch up with the master.

Hope this helps,

 - Kristian.


References