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)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla37

People

(Reporter: zcampbell, Assigned: davehunt)

Details

Attachments

(1 file)

(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
Let's throw an exception if there are no tests to run. Try: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=a5cf1eb15830
Assignee: nobody → dave.hunt
Status: NEW → ASSIGNED
Attachment #8535688 - Flags: review?(jgriffin)
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+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: