Open Bug 892917 Opened 6 years ago Updated 5 years ago

mozprocess tests take a long time to run

Categories

(Testing :: Mozbase, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: nodeless, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release)
Build ID: 20130618035212

Steps to reproduce:

mozprocess tests take significantly longer to run than they need. I've modified the ini files and the tests so that the times are all reduced, but the constructs they originally test are still the same. mozprocess tests now complete in ~20 seconds (vs ~100 seconds before).
Comment on attachment 774563 [details] [diff] [review]
0002-Adjust-process-run-times-in-mozprocess-tests-to-be-s.patch

Agreed, the mozprocess tests take an unnecessary amount of time to run.

This slipped through the cracks, but this is something we should have done a long time ago.

I think this patch is probably bitrotted though. I'll test it out.
Attachment #774563 - Attachment is patch: true
Yep, it's bitrotted, and there have been more tests added since. I was wondering if this would be a good first bug, but I'm not sure because it requires understanding all the edge-cases the tests are designed for.
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.