Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/My Project/AssemblyInfo.vb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Imports System
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices

Expand All @@ -11,6 +11,8 @@ Imports System.Runtime.InteropServices

<Assembly: ComVisible(False)>

<Assembly: Parallelize(Scope:=ExecutionScope.MethodLevel)>

<Assembly: Guid("52f7642c-b8dd-494e-8cbc-bc773c3f6e72")>

' <Assembly: AssemblyVersion("1.0.*")>
Expand Down
8 changes: 6 additions & 2 deletions tests/TestWVP.vb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ Imports Microsoft.VisualStudio.TestTools.UnitTesting
''' <summary>
''' Tests reading WVP series options
''' </summary>
<TestMethod()> Public Sub TestWVP_ReadOptions()
<DoNotParallelize>
<TestMethod>
Public Sub TestWVP_ReadOptions()

Dim fileWVP As String = IO.Path.Combine(TestData.getTestDataDir(), "WVP", "test_displayoptions.wvp")

Expand All @@ -67,7 +69,9 @@ Imports Microsoft.VisualStudio.TestTools.UnitTesting
''' <summary>
''' Tests writing WVP series options
''' </summary>
<TestMethod()> Public Sub TestWVP_WriteOptions()
<DoNotParallelize>
<TestMethod>
Public Sub TestWVP_WriteOptions()

'read time series using a WVP file
Dim fileIn As String = IO.Path.Combine(TestData.getTestDataDir(), "WVP", "test_displayoptions.wvp")
Expand Down
6 changes: 5 additions & 1 deletion tests/tests.runsettings
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- Configurations that affect the Test Framework -->
<RunConfiguration>
<!-- Use 0 for maximum process-level parallelization. This does not force parallelization within the test DLL (on the thread-level). You can also change it from the Test menu; choose "Run tests in parallel". Unchecked = 1 (only 1), checked = 0 (max). -->
<MaxCpuCount>1</MaxCpuCount>
<MaxCpuCount>0</MaxCpuCount>
<!-- Path relative to directory that contains .runsettings file-->
<ResultsDirectory>.\TestResults</ResultsDirectory>

Expand Down Expand Up @@ -47,6 +47,10 @@
<AssemblyResolution>
<Directory path="bin\Debug\x64" includeSubDirectories="false"/>
</AssemblyResolution>
<Parallelize>
<Workers>0</Workers>
<Scope>MethodLevel</Scope>
</Parallelize>
</MSTest>

</RunSettings>
Loading