Skip to content
This repository has been archived by the owner on Nov 27, 2017. It is now read-only.

Cannot set LevelOfParallelism #70

Open
patrickjamesbarry opened this issue Aug 10, 2016 · 2 comments
Open

Cannot set LevelOfParallelism #70

patrickjamesbarry opened this issue Aug 10, 2016 · 2 comments

Comments

@patrickjamesbarry
Copy link

I am using 3.4.0-beta-2 and cannot seem to change the Number Of test Workers. I added this to my AssemblyInfo.cs and reran dotnet test, but it is still reporting as 3.

[assembly: LevelOfParallelism(1)]

Run Settings
    WorkDirectory: C:\repos\alliances
    NumberOfTestWorkers: 3
@rprouse
Copy link
Member

rprouse commented Aug 10, 2016

There is no parallelism in the PCL version of the NUnit framework because we don't have threading in Portable. This should be fixed when we release a netstandard version, hopefully next month.

I am not sure why it is reporting 3 for the workers, that is probably a bug. I expect it is one.

@patrickjamesbarry
Copy link
Author

It is recording as three because that is the number of CPUs I have.

On Wednesday, August 10, 2016, Rob Prouse [email protected] wrote:

There is no parallelism in the PCL version of the NUnit framework because
we don't have threading in Portable. This should be fixed when we release a
netstandard version, hopefully next month.

I am not sure why it is reporting 3 for the workers, that is probably a
bug. I expect it is one.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#70 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB63ivUbV_XKgiYRc3CietZfKLD7lengks5qejMkgaJpZM4Jhcl4
.

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

No branches or pull requests

2 participants