← Back to team overview

maria-developers team mailing list archive

Re: [Commits] Rev 2999: Speed up `mtr --parallel=<lots>` by scheduling some slow tests earlier. in http://bazaar.launchpad.net/~maria-captains/maria/5.1


Sergei Golubchik <serg@xxxxxxxxxxxx> writes:

> Hm.
> Why do you prefer to add a dummy include file to every "long" test,
> instead of using a separate file, like disabled.def ?

I thought it was simpler to re-use an existing mechanism. The mtr_cases.pm
already parses out lots of info about test cases in this way.

> I think it'd be easier to maintain in a separate file, and easier to
> extend later on.


What I'd really like is something that didn't have to be maintained. Eg. the
test run could store actual test case times in some $HOME/.mtr/timings.txt,
and use that for scheduling in subsequent runs.

But for this, I'd just gotten so annoyed about always waiting a couple of
minutes extra for that final partitioning test for so long that I finally made
a quick minimal solution...

 - Kristian.

Follow ups