Bug #76455 Provide Some Progress Status to Know how many tests are completed or remaining
Submitted: 23 Mar 2015 11:52 Modified: 1 Jun 2015 13:27
Reporter: Annamalai Gurusami Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S4 (Feature request)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any

[23 Mar 2015 11:52] Annamalai Gurusami
Description:
Currently I have no way of knowing how many tests have been run and how many tests are yet to be executed.  MTR does not provide any kind of status on the progress to completion.  Right now, my mtr test run is going on, and it has been running for more than 1 hour.  I would like to know how many tests are remaining to be run - 10 or 50 or 100 and some kind of estimate about how long this might take (approximately).  

How to repeat:
See above.

Suggested fix:
Provide some status like "80% completed.  About 10 more minutes remaining."
[24 Mar 2015 1:34] Anitha Gopi
Posted by developer:
 
Duration of a test depends on the testcases it executes, hardware on which it runs etc. So it will be impossible for MTR to predict remaining time. It might be possible to display stats on number of tests remaining.
[1 Jun 2015 13:27] Paul DuBois
Fixed in 5.8.0. Changes for test suite. No changelog entry needed.
[3 Mar 2017 1:37] Paul DuBois
Posted by developer:
 
mysql-test-run.pl now has a --test-progress option to cause display
of the remaining percentage of tests remaining.