Skip to content

Commit 0cc205f

Browse files
CarnaViirejkotas
andauthored
load quic early to prevent interaction with tests (#75488) (#75603)
* load quic early to prevent interaction with tests * update Debian10 image for x64 * rever helix change * feedback from review * remove quic reference * Update src/libraries/System.Net.Security/tests/FunctionalTests/TestHelper.cs Co-authored-by: Jan Kotas <[email protected]> Co-authored-by: Jan Kotas <[email protected]>
1 parent 66a9136 commit 0cc205f

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

src/libraries/System.Net.Mail/tests/Functional/System.Net.Mail.Functional.Tests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)-Browser;$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)-iOS;$(NetCoreAppCurrent)-Android</TargetFrameworks>
55
<EnableLibraryImportGenerator>true</EnableLibraryImportGenerator>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
7+
<EnablePreviewFeatures>true</EnablePreviewFeatures>
78
</PropertyGroup>
89
<ItemGroup>
910
<Compile Include="AlternateViewCollectionTest.cs" />
@@ -24,6 +25,8 @@
2425
Link="Common\System\Diagnostics\Tracing\TestEventListener.cs" />
2526
<Compile Include="$(CommonTestPath)System\IO\TempFile.cs"
2627
Link="Common\System\IO\TempFile.cs" />
28+
<Compile Include="$(CommonTestPath)System\Net\QuicLoad.cs"
29+
Link="Common\System\Net\System\Net\QuicLoad.cs" />
2730
<Compile Include="$(CommonTestPath)System\Threading\Tasks\TaskTimeoutExtensions.cs"
2831
Link="Common\System\Threading\Tasks\TaskTimeoutExtensions.cs" />
2932
</ItemGroup>

src/libraries/System.Net.Requests/tests/System.Net.Requests.Tests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<Compile Include="AssemblyInfo.cs" />
1616
<Compile Include="HttpWebRequestTest.cs" />
1717
<Compile Include="HttpWebResponseTest.cs" />
18-
<Compile Include="QuicLoad.cs" />
1918
<Compile Include="RequestStreamTest.cs" />
2019
<Compile Include="WebRequestTest.cs" />
2120
<Compile Include="$(CommonTestPath)System\Net\Capability.Security.cs"
@@ -28,6 +27,8 @@
2827
Link="Common\System\Net\Configuration.Http.cs" />
2928
<Compile Include="$(CommonTestPath)System\Net\Configuration.Security.cs"
3029
Link="Common\System\Net\Configuration.Security.cs" />
30+
<Compile Include="$(CommonTestPath)System\Net\QuicLoad.cs"
31+
Link="Common\System\Net\System\Net\QuicLoad.cs" />
3132
<Compile Include="$(CommonTestPath)System\Net\Http\LoopbackServer.cs"
3233
Link="Common\System\Net\Http\LoopbackServer.cs" />
3334
<Compile Include="$(CommonTestPath)System\Net\Http\LoopbackServer.AuthenticationHelpers.cs"

src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<EnableLibraryImportGenerator>true</EnableLibraryImportGenerator>
88
<!-- the res/xml/network_security_config.xml file comes from the System.Net.TestData package -->
99
<IncludeNetworkSecurityConfig Condition="'$(TargetOS)' == 'Android'">true</IncludeNetworkSecurityConfig>
10+
<EnablePreviewFeatures>true</EnablePreviewFeatures>
1011
</PropertyGroup>
1112
<ItemGroup>
1213
<Compile Include="AssemblyInfo.cs" />
@@ -73,6 +74,8 @@
7374
Link="Common\System\Net\HttpsTestClient.cs" />
7475
<Compile Include="$(CommonTestPath)System\Net\HttpsTestServer.cs"
7576
Link="Common\System\Net\HttpsTestServer.cs" />
77+
<Compile Include="$(CommonTestPath)System\Net\QuicLoad.cs"
78+
Link="Common\System\Net\System\Net\QuicLoad.cs" />
7679
<Compile Include="$(CommonTestPath)System\Net\SslProtocolSupport.cs"
7780
Link="Common\System\Net\SslProtocolSupport.cs" />
7881
<Compile Include="$(CommonTestPath)System\Net\TestLogging.cs"

0 commit comments

Comments
 (0)