Use RemoteInvoke with tracing tests (dotnet/corefx#34645)
authorStephen Toub <stoub@microsoft.com>
Thu, 17 Jan 2019 22:03:41 +0000 (17:03 -0500)
committerDan Moseley <danmose@microsoft.com>
Thu, 17 Jan 2019 22:03:41 +0000 (14:03 -0800)
commit1f745d20686d7769ff4cad71dbc412f523ac8ba0
tree2baec44213fc2cac2edfe182b5c8a4cfb5075d47
parent16e30eb036885be519ad984c5d44f447525b539b
Use RemoteInvoke with tracing tests (dotnet/corefx#34645)

Various test projects validate that EventSource data is being appropriately generated.  Since these tests can run concurrently with others in the process, they should be done as out-of-process such that they don't interfere with each other, but some test projects aren't doing that.  This fixes that, ensuring we're using RemoteInvoke everywhere we should be.

Commit migrated from https://github.com/dotnet/corefx/commit/827f91c666c2b40e078c3f1df7a7e5ab13781eaa
src/libraries/System.Collections.Concurrent/tests/EtwTests.cs
src/libraries/System.Collections.Concurrent/tests/System.Collections.Concurrent.Tests.csproj
src/libraries/System.Data.Common/tests/System/Data/DataCommonEventSourceTest.cs
src/libraries/System.Linq.Parallel/tests/EtwTests.cs
src/libraries/System.Linq.Parallel/tests/System.Linq.Parallel.Tests.csproj
src/libraries/System.Threading.Tasks.Parallel/tests/EtwTests.cs
src/libraries/System.Threading.Tasks.Parallel/tests/System.Threading.Tasks.Parallel.Tests.csproj
src/libraries/System.Threading/tests/EtwTests.cs
src/libraries/System.Transactions.Local/tests/AsyncTransactionScopeTests.cs
src/libraries/System.Transactions.Local/tests/HelperFunctions.cs
src/libraries/System.Transactions.Local/tests/System.Transactions.Local.Tests.csproj