You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by bl...@apache.org on 2021/06/22 08:25:11 UTC

[pulsar-dotpulsar] branch master updated: Update NuGet packages. Fix warnings.

This is an automated email from the ASF dual-hosted git repository.

blankensteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new d2a3204  Update NuGet packages. Fix warnings.
d2a3204 is described below

commit d2a3204f2c4224755dd4fef6173ec30c8ebb0748
Author: Daniel Blankensteiner <db...@vmail.dk>
AuthorDate: Tue Jun 22 10:24:59 2021 +0200

    Update NuGet packages. Fix warnings.
---
 .../DotPulsar.IntegrationTests/DotPulsar.IntegrationTests.csproj  | 4 ++--
 tests/DotPulsar.IntegrationTests/Services/ServiceFactory.cs       | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/DotPulsar.IntegrationTests/DotPulsar.IntegrationTests.csproj b/tests/DotPulsar.IntegrationTests/DotPulsar.IntegrationTests.csproj
index 3f569d1..1184fbd 100644
--- a/tests/DotPulsar.IntegrationTests/DotPulsar.IntegrationTests.csproj
+++ b/tests/DotPulsar.IntegrationTests/DotPulsar.IntegrationTests.csproj
@@ -8,13 +8,13 @@
 
     <ItemGroup>
         <PackageReference Include="FluentAssertions" Version="5.10.3" />
-        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
+        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" />
         <PackageReference Include="xunit" Version="2.4.1" />
         <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <PrivateAssets>all</PrivateAssets>
         </PackageReference>
-        <PackageReference Include="coverlet.collector" Version="1.3.0">
+        <PackageReference Include="coverlet.collector" Version="3.0.3">
             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
             <PrivateAssets>all</PrivateAssets>
         </PackageReference>
diff --git a/tests/DotPulsar.IntegrationTests/Services/ServiceFactory.cs b/tests/DotPulsar.IntegrationTests/Services/ServiceFactory.cs
index 01b3c1c..dd0187c 100644
--- a/tests/DotPulsar.IntegrationTests/Services/ServiceFactory.cs
+++ b/tests/DotPulsar.IntegrationTests/Services/ServiceFactory.cs
@@ -18,14 +18,14 @@ namespace DotPulsar.IntegrationTests.Services
 
     public static class ServiceFactory
     {
-        private const string PulsarDeploymentType = "PULSAR_DEPLOYMENT_TYPE";
-        private const string ContainerDeployment = "container";
+        private const string _pulsarDeploymentType = "PULSAR_DEPLOYMENT_TYPE";
+        private const string _containerDeployment = "container";
 
         public static IPulsarService CreatePulsarService()
         {
-            var deploymentType = System.Environment.GetEnvironmentVariable(PulsarDeploymentType);
+            var deploymentType = System.Environment.GetEnvironmentVariable(_pulsarDeploymentType);
 
-            if (deploymentType == ContainerDeployment)
+            if (deploymentType == _containerDeployment)
             {
                 return new StandaloneContainerService();
             }