| 1 |
Blackhole slave testing |
| 2 |
======================= |
| 3 |
|
| 4 |
Blackhole slave means intermediate server between master and slave by |
| 5 |
schema: |
| 6 |
|
| 7 |
master -> blackhole slave -> slave |
| 8 |
|
| 9 |
The script bhs.pl copies mysql-test/suite/rpl into mysql-test/suite/rpl_bhs |
| 10 |
and updates some files there for adding blackhole slave. After that bhs.pl |
| 11 |
calls mysql-test-run.pl. |
| 12 |
The script bhs.pl requires one argument in command line: |
| 13 |
--trans-test-list=<test list for update> (currently it is |
| 14 |
update_test_cases) |
| 15 |
|
| 16 |
Other arguments in command line will be used by mysql-test-run.pl |
| 17 |
|
| 18 |
The behavior of update is controlled by bollowing files: |
| 19 |
|
| 20 |
bhs/update_test_cases - list of files for update. Each line contains path to |
| 21 |
test case (use asteriks instead filename if you want to update all files in a |
| 22 |
directory) and file with rules |
| 23 |
|
| 24 |
bhs/default.rules - default rules for update. |