forked from gkinsman/AlmostServiceBus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAlmostServiceBus.runsettings
More file actions
24 lines (21 loc) · 1.08 KB
/
Copy pathAlmostServiceBus.runsettings
File metadata and controls
24 lines (21 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8"?>
<!--
MaxCpuCount caps assembly parallelism *within a single vstest invocation*.
NOTE: this has NO effect on `dotnet test <solution>` — that builds and runs
each test project as a SEPARATE vstest invocation in parallel via MSBuild, so
vstest never sees more than one assembly at a time and this setting is inert.
(Measured: MaxCpuCount 3/2/1 gave identical wall-clock and did not change how
many emulator-backed assemblies ran concurrently.)
CI therefore does NOT rely on this file for isolation — it runs each test
assembly in its own job (see the `internal-tests` matrix in
.github/workflows/ci.yml), which is what actually prevents the emulator
fixtures from oversubscribing a 2-core runner and starving throughput/
timing-sensitive tests (bulk send, scheduled delivery, lock renewal).
Kept for running multiple assemblies through one vstest invocation, e.g.
`dotnet vstest a.dll b.dll --settings AlmostServiceBus.runsettings`.
-->
<RunSettings>
<RunConfiguration>
<MaxCpuCount>2</MaxCpuCount>
</RunConfiguration>
</RunSettings>