Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 11-Nov-2020 | - | ||||
bhs/ | H | 11-Nov-2020 | - | 325 | 278 | |
README | H A D | 11-Nov-2020 | 77 | 2 | 1 | |
README.bhs | H A D | 11-Nov-2020 | 839 | 25 | 17 | |
README.checksum | H A D | 11-Nov-2020 | 738 | 24 | 18 | |
bhs.pl | H A D | 11-Nov-2020 | 7.6 KiB | 275 | 207 | |
checksum.pl | H A D | 11-Nov-2020 | 5.2 KiB | 172 | 125 |
README
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