• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..11-Nov-2020-

bhs/H11-Nov-2020-325278

READMEH A D11-Nov-202077 21

README.bhsH A D11-Nov-2020839 2517

README.checksumH A D11-Nov-2020738 2418

bhs.plH A D11-Nov-20207.6 KiB275207

checksum.plH A D11-Nov-20205.2 KiB172125

README

1This directory contains scripts for manipulating of replication suite (rpl).
2

README.bhs

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

README.checksum

1Binlog checksum testing
2=======================
3
41. How it works.
5The script copies a <suite> to directory <suite>_checksum,
6collects test case names for t/ directory (except tests from
7disabled def), randomly choose 90% of tests and add them
8to disabled.def.
9It means that mtr will run only 10% of random tests from each
10suite.
11At end the script run mtr:
12./mysql-test-run.pl --suite=aaa_checksum,bbb_checksum \
13    --mysqld=--binlog-checksum=CRC32 arg1 ... argN
14
15aaa,bbb 	- suite names from --suite option
16arg1,argN	- other command-line arguments of checksum.pl
17
182. The options:
19
20--suite=suite1,suite2.  Mandatory option. The list of suites for
21    binlog checksum testing.
22
23--percent=N, where N is 1..99. Percent of running tests.
24