On Thu, 2011-08-04 at 16:06 -0700, Brock Pytlik wrote: > On 07/08/11 01:33, Brock Pytlik wrote: > > Webrev: > > https://cr.opensolaris.org/action/browse/pkg/bpytlik/parallel-test-v1 > > Updated webrev: > https://cr.opensolaris.org/action/browse/pkg/bpytlik/parallel-test-v2 > > Incremental webrev: > https://cr.opensolaris.org/action/browse/pkg/bpytlik/incr-parallel-test-v1-v2
pkg5unittest.py line 3296: what is sleeptime doing? It seems it's just set and not used anywhere. There is another occurrence of this on line 3226 which doesn't seem to be part of this changeset, though. Erik > > This fixed an issue where the test suite could occasionally hang waiting > for an apache process to shut down and deals with the issue of properly > directing debugging output. > > Thanks, > Brock > > > > > Bugs: > > 18636 a single test suite run should be parallelizable > > 18571 test suite uses obsolete unittest function makeSuite > > 18616 fakeroot_repo should die > > > > I've been working on this off and on for a while and I think it's > > finally reliable and cleans up after itself well. In my experience, > > the time savings can be pretty substantial (see the table below). > > > > The default output is a bit verbose at this point, but I found it was > > what I wanted to see. If you prefer the dots output, you can use -q > > (for quiet). The -v and -p output options are also supported. With all > > output though, instead of getting feedback in real time as each test > > finishes, you'll be informed when each test class passes. If this > > really bothers people, I can look into adding back real time response > > when only a single process is being used. > > > > I believe I've covered all of the other options appropriately, > > including coverage. Being certain about having the right use of > > coverage was tough because running coverage twice over the entire test > > suite using the gate doesn't seem to reliably produce the exact same > > results. That said, the numbers when using multiple processes seems to > > be reasonable from my inspection. > > > > Timing comparisons (all times in seconds): > > Parallelism API CLI > > Gate 693 5294 > > 1 696 4861 > > 2 346 2377 > > 4 207 1293 > > 6 173 978 > > 8 178 843 > > > > Please let me know what you think. > > Thanks, > > Brock > > _______________________________________________ > > pkg-discuss mailing list > > [email protected] > > http://mail.opensolaris.org/mailman/listinfo/pkg-discuss > > _______________________________________________ > pkg-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/pkg-discuss _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
