Closed
Bug 1110763
Opened 11 years ago
Closed 11 years ago
When 0 tests are found with chunking, error "Total number of chunks must be between 1 and 0." is shown
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla37
People
(Reporter: zcampbell, Assigned: davehunt)
Details
Attachments
(1 file)
|
1.35 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
(For this case, gaia-ui-tests was being used but anything that uses MarionetteTestCase should be sufficient)
Run test suite with --type=gibberish --total-chunks=1 --this-chunk=1
The manifest combination causes 0 tests to be discovered.
The error's origin is here where # of tests is < # of chunks.
http://hg.mozilla.org/mozilla-central/file/28fdae830289/testing/marionette/client/marionette/runner/base.py#l925
| Assignee | ||
Comment 1•11 years ago
|
||
Let's throw an exception if there are no tests to run.
Try:
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=a5cf1eb15830
Comment 2•11 years ago
|
||
Comment on attachment 8535688 [details] [diff] [review]
Raise an exception if there are no tests to run. v1.0
Review of attachment 8535688 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks, that's more clear.
Attachment #8535688 -
Flags: review?(jgriffin) → review+
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 3•11 years ago
|
||
Keywords: checkin-needed
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•