Bug #97596 MTR doesn't check for remaining files when --parallel > 1
Submitted: 12 Nov 11:58
Reporter: Erlend Dahl Email Updates:
Status: Verified Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S3 (Non-critical)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any

[12 Nov 11:58] Erlend Dahl
Description:
See the following bugs:

Bug#97453 MTR tests failed for main.mysqladmin
Bug#97454 MTR tests failed for binlog.binlog_rewrite_order
Bug#97592 MTR tests failed for main.lowercase_view

They all show that check-testcase doesn't find leftover files in $MYSQLTEST_VARDIR/tmp and $MYSQL_TMP_DIR (are these the same?) when --parallel is set to something > 1. 

When --parallel=1, it correctly reports the files that have not been deleted by the test.

How to repeat:
Revert the patches for the above bugs and run the tests.

Suggested fix:
Make check-testcase check correctly also when --parallel > 1.