From fa8b06bdbb071697ace013f23f0be0a3efb7a3ce Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Thu, 10 Oct 2024 18:15:36 +0200 Subject: [PATCH] Update test dependencies and suppress warnings Upgraded various test-related dependencies such as Microsoft.NET.Test.Sdk, xunit, and related packages. Also added suppression for xUnit1041 warning across relevant projects to maintain compatibility. --- Directory.Build.props | 2 +- src/Directory.Build.props | 6 +++--- src/Elastic.Transport/Elastic.Transport.csproj | 2 +- .../Elastic.Elasticsearch.IntegrationTests.csproj | 9 +++++---- .../Elastic.Transport.IntegrationTests.csproj | 15 ++++++++------- .../Elastic.Transport.Tests.csproj | 6 +++--- 6 files changed, 21 insertions(+), 19 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 0578304..e08e7f0 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -18,7 +18,7 @@ - + all runtime; build; native; contentfiles; analyzers diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 7e33d2f..5122df6 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -39,9 +39,9 @@ - - - + + + diff --git a/src/Elastic.Transport/Elastic.Transport.csproj b/src/Elastic.Transport/Elastic.Transport.csproj index 4e144f7..19ca9f7 100644 --- a/src/Elastic.Transport/Elastic.Transport.csproj +++ b/src/Elastic.Transport/Elastic.Transport.csproj @@ -35,7 +35,7 @@ - + diff --git a/tests/Elastic.Elasticsearch.IntegrationTests/Elastic.Elasticsearch.IntegrationTests.csproj b/tests/Elastic.Elasticsearch.IntegrationTests/Elastic.Elasticsearch.IntegrationTests.csproj index 0aa147c..791914f 100644 --- a/tests/Elastic.Elasticsearch.IntegrationTests/Elastic.Elasticsearch.IntegrationTests.csproj +++ b/tests/Elastic.Elasticsearch.IntegrationTests/Elastic.Elasticsearch.IntegrationTests.csproj @@ -5,16 +5,17 @@ enable enable false + xUnit1041 - - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Elastic.Transport.IntegrationTests/Elastic.Transport.IntegrationTests.csproj b/tests/Elastic.Transport.IntegrationTests/Elastic.Transport.IntegrationTests.csproj index 0c4a446..d3da112 100644 --- a/tests/Elastic.Transport.IntegrationTests/Elastic.Transport.IntegrationTests.csproj +++ b/tests/Elastic.Transport.IntegrationTests/Elastic.Transport.IntegrationTests.csproj @@ -4,19 +4,20 @@ net8.0 True false - CS8002 + CS8002;xUnit1041 - - - - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Elastic.Transport.Tests/Elastic.Transport.Tests.csproj b/tests/Elastic.Transport.Tests/Elastic.Transport.Tests.csproj index 7976082..3263035 100644 --- a/tests/Elastic.Transport.Tests/Elastic.Transport.Tests.csproj +++ b/tests/Elastic.Transport.Tests/Elastic.Transport.Tests.csproj @@ -7,9 +7,9 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all