af9c9d78da
Claude-Session: https://claude.ai/code/session_01GASWkNEi68FSCtvr6rLoEW
52 lines
2.8 KiB
XML
52 lines
2.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<IsPackable>false</IsPackable>
|
|
<IsTestProject>true</IsTestProject>
|
|
<RootNamespace>ZB.MOM.WW.OtOpcUa.Host.IntegrationTests</RootNamespace>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Moq" />
|
|
<!-- Grpc.Net.Client: the initiator side of a gRPC call. The Host references only
|
|
Grpc.AspNetCore (server side); TelemetryListenerTests dials the mapped telemetry service
|
|
to prove it is reachable, which needs the client. Grpc.Core.Api (RpcException/StatusCode/
|
|
Metadata + the generated client base) flows in transitively via the Commons project ref. -->
|
|
<PackageReference Include="Grpc.Net.Client" />
|
|
<PackageReference Include="xunit.v3" />
|
|
<PackageReference Include="Shouldly" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" />
|
|
<PackageReference Include="Akka.Hosting" />
|
|
<PackageReference Include="xunit.runner.visualstudio">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\..\src\Server\ZB.MOM.WW.OtOpcUa.Host\ZB.MOM.WW.OtOpcUa.Host.csproj" />
|
|
<ProjectReference Include="..\..\..\src\Core\ZB.MOM.WW.OtOpcUa.Cluster\ZB.MOM.WW.OtOpcUa.Cluster.csproj" />
|
|
<ProjectReference Include="..\..\..\src\Core\ZB.MOM.WW.OtOpcUa.Configuration\ZB.MOM.WW.OtOpcUa.Configuration.csproj" />
|
|
<ProjectReference Include="..\..\..\src\Core\ZB.MOM.WW.OtOpcUa.Commons\ZB.MOM.WW.OtOpcUa.Commons.csproj" />
|
|
<ProjectReference Include="..\..\..\src\Server\ZB.MOM.WW.OtOpcUa.Security\ZB.MOM.WW.OtOpcUa.Security.csproj" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<!--
|
|
Workstation GC. Referencing the Host drags in the ASP.NET Core framework reference, which
|
|
turns Server GC ON by default — one heap per core, tuned for throughput and deliberately
|
|
reluctant to return memory to the OS. That is right for a server and wrong for a test
|
|
host: across ~200 tests this process was measured at ~30 GB RSS, which starved
|
|
timeout-based assertions into false failures indistinguishable from real regressions.
|
|
Nothing here needs Server GC's throughput.
|
|
-->
|
|
<ServerGarbageCollection>false</ServerGarbageCollection>
|
|
<ConcurrentGarbageCollection>false</ConcurrentGarbageCollection>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|