-
Allen lai authored
rb://1263 Approved b Marko Some InnoDB test cases that use DEBUG_SYNC are skipped during test execution, apparently because some DEBUG_SYNC tests are not properly cleaning up after themselves. First, we found all nondeterminism test cases by review all tests that use DEBUG_SYNC and test each of them like this: ./mtr --mem --repeat=100 --parallel=4 test_name{,,,}. Most of the problem case missed SET DEBUG_SYNC = 'RESET' to clean up DEBUG SYNC points, this causes problem. For fixing it, we added all missed SET DEBUG_SYNC = 'RESET'. Also, we modified these cases according to http://dev.mysql.com/doc/internals/en/test-synchronization.html and https://mediawiki.us.oracle.com/mysql/index.php/How_to_Create_Good_Tests.
Allen lai authoredrb://1263 Approved b Marko Some InnoDB test cases that use DEBUG_SYNC are skipped during test execution, apparently because some DEBUG_SYNC tests are not properly cleaning up after themselves. First, we found all nondeterminism test cases by review all tests that use DEBUG_SYNC and test each of them like this: ./mtr --mem --repeat=100 --parallel=4 test_name{,,,}. Most of the problem case missed SET DEBUG_SYNC = 'RESET' to clean up DEBUG SYNC points, this causes problem. For fixing it, we added all missed SET DEBUG_SYNC = 'RESET'. Also, we modified these cases according to http://dev.mysql.com/doc/internals/en/test-synchronization.html and https://mediawiki.us.oracle.com/mysql/index.php/How_to_Create_Good_Tests.
Loading