Skip to content

Different tests collected on two nodes with xdist #437

Closed
@pytestbot

Description

@pytestbot

Originally reported by: Florian Rathgeber (BitBucket: frathgeber, GitHub: frathgeber)


When running py.test with xdist and -n 2 on Travis we occasionally get a

AssertionError: Different tests were collected between gw1 and gw0

Here's an example failure.

We're not overriding the test collection hooks and I can't immediately think of any other way we might affect test collection.

Tested with pytest 2.5.2, xdist 1.10, execnet 1.2.0.


Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: xdistrelated to the xdist external plugintype: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions