Skip to content

Commit f6477f9

Browse files
Merge pull request #12709 from Mikejo5000/mikejo-br24
Clarify TestSessionTimeout values for runsettings file and Docker values for remote test
2 parents 85ce5c5 + 9eea505 commit f6477f9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/test/configure-unit-tests-by-using-a-dot-runsettings-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ The **RunConfiguration** element can include the following elements:
164164
|**TreatTestAdapterErrorsAsWarnings**|false|false, true|
165165
|**TestAdaptersPaths**||One or more paths to the directory where the TestAdapters are located|
166166
|**TestCaseFilter**|| A filter expression in the format \<property>\<operator>\<value>[\|\&amp;\<Expression>]. The boolean operator **\&** should be represented by the HTML entity **\&amp;**. Expressions can be enclosed in parentheses. For detailed syntax on expression structure, see [vstest/docs/filter.md](https://github.com/microsoft/vstest/blob/main/docs/filter.md). |
167-
|**TestSessionTimeout**||Allows users to terminate a test session when it exceeds a given timeout. Setting a timeout ensures that resources are well consumed and test sessions are constrained to a set time. The setting is available in **Visual Studio 2017 version 15.5** and later.|
167+
|**TestSessionTimeout**||Allows users to terminate a test session when it exceeds a given timeout, specified in milliseconds. Setting a timeout ensures that resources are well consumed and test sessions are constrained to a set time. The setting is available in **Visual Studio 2017 version 15.5** and later.|
168168
|**DotnetHostPath**||Specify a custom path to dotnet host that is used to run the testhost. It's useful when you're building your own dotnet, for example when building the dotnet/runtime repository. Specifying this option skips looking for testhost.exe, and forces the use of testhost.dll.|
169169
|**TreatNoTestsAsError**|false| true or false <br>Specify a Boolean value, which defines the exit code when no tests are discovered. If the value is `true` and no tests are discovered, a nonzero exit code is returned. Otherwise, zero is returned.|
170170

docs/test/remote-testing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,16 @@ For a Dockerfile, the environment can be specified in the *testEnvironments.json
7878
}
7979
```
8080

81-
The following example shows the *testenvironments.json* file for a local container image named `<mcr.microsoft.com/dotnet/core/sdk>`.
81+
The following example shows the *testenvironments.json* file for a local container image named `<mcr.microsoft.com/dotnet/sdk>`.
8282

8383
```json
8484
{
8585
"version": "1",
8686
"environments": [
8787
{
88-
"name": "linux dotnet-core-sdk-3.1",
88+
"name": "linux dotnet-sdk-5.0",
8989
"type": "docker",
90-
"dockerImage": "mcr.microsoft.com/dotnet/core/sdk"
90+
"dockerImage": "mcr.microsoft.com/dotnet/sdk"
9191
}
9292
]
9393
}
@@ -96,7 +96,7 @@ The following example shows the *testenvironments.json* file for a local contain
9696
The following example shows a Dockerfile for running tests targeting .NET 5.0. The second line makes sure the debugger can connect and run in your container.
9797

9898
```dockerfile
99-
FROM mcr.microsoft.com/dotnet/core/sdk:5.0
99+
FROM mcr.microsoft.com/dotnet/sdk:5.0
100100

101101
RUN wget https://aka.ms/getvsdbgsh && \
102102
sh getvsdbgsh -v latest -l /vsdbg

0 commit comments

Comments
 (0)