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

Child suite does not obey threadCount parameter #2686

Closed
1 of 7 tasks
dsankouski opened this issue Dec 1, 2021 · 0 comments · Fixed by #2687
Closed
1 of 7 tasks

Child suite does not obey threadCount parameter #2686

dsankouski opened this issue Dec 1, 2021 · 0 comments · Fixed by #2687

Comments

@dsankouski
Copy link
Contributor

dsankouski commented Dec 1, 2021

TestNG Version

7.4

Steps to reproduce:

  • Create 2 suites:
name: Parent suite

suiteFiles:
  - ./inherit-thread-count-child.yaml
name: Child suite

tests:
  - name: Tests
    classes:
      - test.thread.Sample2
      - test.thread.Sample1
  • Run parent suite with threadCount parameter equal 2

Expected behavior

Run should be executed in 2 threads

Actual behavior

Run executed in 1 thread

Is the issue reproducible on runner?

  • Shell
  • Maven
  • Gradle
  • Ant
  • Eclipse
  • IntelliJ
  • NetBeans

Test case sample

Tests: #2687

@juherr juherr linked a pull request Dec 4, 2021 that will close this issue
3 tasks
@krmahadevan krmahadevan added this to the 7.5.0 milestone Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants