Skip to content

Pytest Parallel Exectuion #332

Description

@abubakarafzal

Pytest Xdist Parallel Support
Although this framework is perfectly organized and developed but somehow using this boilerplate parallel execution should be integrated

Issue With Pytest xdist in selenium grid
i was executing the parallel execution in selenium grid but facing somehow sometime this issue might be due to use of pytest-teststart method which is in conftest.py

INTERNALERROR> def worker_internal_error(self, node, formatted_error):
INTERNALERROR>         """
INTERNALERROR>         pytest_internalerror() was called on the worker.
INTERNALERROR>     
INTERNALERROR>         pytest_internalerror() arguments are an excinfo and an excrepr, which can't
INTERNALERROR>         be serialized, so we go with a poor man's solution of raising an exception
INTERNALERROR>         here ourselves using the formatted message.
INTERNALERROR>         """
INTERNALERROR>         self._active_nodes.remove(node)
INTERNALERROR>         try:
INTERNALERROR> >           assert False, formatted_error
INTERNALERROR> E           AssertionError: Traceback (most recent call last):
INTERNALERROR> E               File "/Users/ronaldo/openC/ui-testspom/Tests_Bamboo_v2/venvS2/lib/python3.12/site-```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions