Skip to content

Commit b878d3f

Browse files
committed
Fix running tests hanging indefinitely
By setting the `IsTestProject` property to false in Testcontainers.Commons.csproj Cause: referencing the `xunit` package enables `IsTestProject=true` which trigger a bug in vstest where [netstandard libraries hangs indefinitely][1]. This bug was addressed 5 days ago: [Fix execution gets stucks on single netstandard source][2] [1]: microsoft/vstest#4392 [2]: microsoft/vstest#4497
1 parent a23844c commit b878d3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Testcontainers.Commons/Testcontainers.Commons.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
44
<IsPackable>false</IsPackable>
55
<IsPublishable>false</IsPublishable>
6+
<IsTestProject>false</IsTestProject>
67
<SignAssembly>true</SignAssembly>
78
<LangVersion>latest</LangVersion>
89
</PropertyGroup>

0 commit comments

Comments
 (0)