Explorar el Código

Merge pull request #270 from nickbabcock/dependabot/nuget/Npgsql-6.0.1

Bump Npgsql from 5.0.10 to 6.0.1
Nick Babcock hace 3 años
padre
commit
796d518ef0
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 2 2
      OhmGraphite.Test/TimescaleTest.cs
  2. 1 1
      OhmGraphite/OhmGraphite.csproj

+ 2 - 2
OhmGraphite.Test/TimescaleTest.cs

@@ -25,7 +25,7 @@ namespace OhmGraphite.Test
             await container.StartAsync();
 
             string connStr = $"Host={container.Hostname};Username=postgres;Password=123456;Port={container.GetMappedPublicPort(5432)}";
-            var epoch = new DateTime(2001, 1, 13);
+            var epoch = new DateTime(2001, 1, 13, 0, 0, 0, DateTimeKind.Utc);
 
             using var writer = new TimescaleWriter(connStr, true, "my-pc");
             await using var conn = new NpgsqlConnection(connStr);
@@ -57,7 +57,7 @@ namespace OhmGraphite.Test
             await container.StartAsync();
 
             string selectStr =$"Host={container.Hostname};Username=postgres;Password=123456;Port={container.GetMappedPublicPort(5432)};Database=timescale_built";
-            var epoch = new DateTime(2001, 1, 13);
+            var epoch = new DateTime(2001, 1, 13, 0, 0, 0, DateTimeKind.Utc);
 
             string connStr = $"Host={container.Hostname};Username=ohm;Password=itsohm;Port={container.GetMappedPublicPort(5432)};Database=timescale_built";
             using var writer = new TimescaleWriter(connStr, false, "my-pc");

+ 1 - 1
OhmGraphite/OhmGraphite.csproj

@@ -36,7 +36,7 @@
 
   <ItemGroup>
     <PackageReference Include="InfluxDB.Client" Version="3.2.0" />
-    <PackageReference Include="Npgsql" Version="5.0.10" />
+    <PackageReference Include="Npgsql" Version="6.0.1" />
     <PackageReference Include="prometheus-net" Version="5.0.2" />
     <PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0" />
     <PackageReference Include="TopShelf" Version="4.3.0" />