Skip to content
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

Revert pytest-xdist #792

Closed
wants to merge 2 commits into from
Closed

Revert pytest-xdist #792

wants to merge 2 commits into from

Conversation

blrchen
Copy link
Collaborator

@blrchen blrchen commented Oct 28, 2022

Description

This PR reverts pytest-xdist added by PR #773, with pytest-xdist, now ci tests fail with Different tests were collected between gw4 and gw5.

For more details please read: pytest-dev/pytest-xdist#432

After discussing with @loomlike , the root cause is in following code, NamedTemporaryFile().name confuses xdist. He will submit a right fix to mitigate this issue.

@pytest.mark.parametrize(
    "output_filepath", [None, NamedTemporaryFile().name],
)
def test__generate_config

How was this PR tested?

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to clarify your proposed changes.

@blrchen blrchen added the work-in-progress/do-not-merge Work in Progress PR, do not merge label Oct 28, 2022
@blrchen blrchen closed this Oct 29, 2022
@blrchen blrchen deleted the blair/revert-pytest-xdist branch October 31, 2022 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work-in-progress/do-not-merge Work in Progress PR, do not merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant