24 Jun
2014
24 Jun
'14
9:11 a.m.
sriram patil <spsrirampatil@gmail.com> 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.