Improve report when slaves collect different tests #556
Labels
plugin: xdist
related to the xdist external plugin
type: enhancement
new feature or API change, should be merged into features branch
Originally reported by: Bruno Oliveira (BitBucket: nicoddemus, GitHub: nicoddemus)
As described in #437 and #301, a test run stops when slaves collect a different number of tests.
This is the code that raises the error:
If instead of raising an
AssertionError
inreport_collection_diff
we justreturn None
if the collections differ, we obtain a better error message.Which makes it easy to track down the source of the problem (btw, the above issue has a proposed fix in pull request #192).
The text was updated successfully, but these errors were encountered: