Wptrunner quits early when repeating a set of tests including a skipped test
Categories
(Testing :: web-platform-tests, enhancement)
Tracking
(firefox67 fixed)
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: Ms2ger, Assigned: jgraham)
References
Details
Attachments
(1 file)
Bug 1504357 added a if len(test_loader.test_ids) == skipped_tests:
block at https://searchfox.org/mozilla-central/rev/ee40541496d3ad738097eebadaf4965ca1343b7a/testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py#292.
Unfortunately the skipped_tests
counter is not reset when we pass a "repeat" argument. For example, when running three tests, of which one is skipped, five times, the condition will be true on the third iteration and the fourth and fifth iterations will be lost. This causes issues with the stability checker like here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c65e29d5642a966c7cb8e8074ef4b6a90eb8a884&selectedJob=228993605.
Assignee | ||
Comment 1•6 years ago
|
||
If we got past the first iteration we shouldn't stop for the skipped count matching
the total tests since we increment this with the total tests on each iteration.
Comment 5•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Description
•