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

avocado: limit parallel tasks to 1 with nrunner #31

Closed
wants to merge 1 commit into from

Conversation

ana
Copy link

@ana ana commented Oct 4, 2021

With version 91.0 Avocado have switched the default runner from
an implementation named internally runner to a new architecture,
that allows parallel execution of tests, called nrunner.
Please, find more info at
https://avocado-framework.readthedocs.io/en/91.0/releases/91_0.html
and
https://avocado-framework.readthedocs.io/en/91.0/guides/contributor/chapters/runners.html?highlight=nrunner-max-parallel-tasks

In the case of pok, you could continue using the legacy runner,
setting --test-runner=runner and sticking to the next LTS version
that will be 92.0 or switch to nrunner and disable
parallel execution by setting --nrunner-max-parallel-tasks 1

Signed-off-by: Ana Guerrero Lopez anguerre@redhat.com

With version 91.0 Avocado have switched the default runner from
an implementation named internally runner to a new architecture,
that allows parallel execution of tests, called nrunner.
Please, find more info at
https://avocado-framework.readthedocs.io/en/91.0/releases/91_0.html
and
https://avocado-framework.readthedocs.io/en/91.0/guides/contributor/chapters/runners.html?highlight=nrunner-max-parallel-tasks

In the case of pok, you could continue using the legacy runner,
setting --test-runner=runner and sticking to the next LTS version
that will be 92.0 or switch to nrunner and disable
parallel execution by setting --nrunner-max-parallel-tasks 1

Signed-off-by: Ana Guerrero Lopez <anguerre@redhat.com>
@samueltardieu
Copy link
Collaborator

Thanks, an equivalent patch has been merged in #67 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants