-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xdist does not transfer warnings to the master #92
Labels
Comments
Any idea where the source code can be found that "transfers" any errors that have occurred? We might be able to jam the warnings in there too? |
@Korijn the mechanism we use to transfer test reports is unsuitable for the warnings (which are a side-channel) but i do wonder if we can extend test report serialization in a way to handle warnings alongside |
This was referenced Mar 23, 2017
nicoddemus
added a commit
to nicoddemus/pytest-xdist
that referenced
this issue
Aug 9, 2017
Merged
nicoddemus
added a commit
to nicoddemus/pytest-xdist
that referenced
this issue
Aug 9, 2017
netbsd-srcmastr
referenced
this issue
in NetBSD/pkgsrc
Aug 14, 2017
pytest-xdist 1.19.1 (2017-08-10) ================================ Bug Fixes --------- - Fix crash when transferring internal pytest warnings from workers to the master node. (`#214 <https://github.com/pytest-dev/pytest- xdist/issues/214>`_) pytest-xdist 1.19.0 (2017-08-09) ================================ Deprecations and Removals ------------------------- - ``--boxed`` functionality has been moved to a separate plugin, `pytest-forked <https://github.com/pytest-dev/pytest-forked>`_. This release now depends on `` pytest-forked`` and provides ``--boxed`` as a backward compatibility option. (`#1 <https://github.com/pytest-dev/pytest-xdist/issues/1>`_) Features -------- - New ``--dist=loadscope`` option: sends group of related tests to the same worker. Tests are grouped by module for test functions and by class for test methods. See ``README.rst`` for more information. (`#191 <https://github.com /pytest-dev/pytest-xdist/issues/191>`_) - Warnings are now properly transferred from workers to the master node. (`#92 <https://github.com/pytest-dev/pytest-xdist/issues/92>`_) Bug Fixes --------- - Fix serialization of native tracebacks (``--tb=native``). (`#196 <https://github.com/pytest-dev/pytest-xdist/issues/196>`_)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pytest-dev/pytest#1996 and pytest-dev/pytest#602
example from the pytest issue:
Warnings raised with
request.node.warn
does not show warnings.-rw
does not give any warning output either.Here is the same test run without and with xdist:
The text was updated successfully, but these errors were encountered: