From cd3fd562585f7ebcdf129e9b9ea392a32c3d7f5d Mon Sep 17 00:00:00 2001 From: Lilith River Date: Thu, 29 Aug 2024 13:34:23 -0600 Subject: [PATCH] Fix some warninngs --- .../PublicAPI.Shipped.txt | 2 - .../PublicAPI.Shipped.txt | 2 - .../packages.lock.json | 85 +++++++++---------- .../Licensing/DataStructureTests.cs | 4 +- 4 files changed, 42 insertions(+), 51 deletions(-) diff --git a/src/Imageflow.Server.Storage.AzureBlob/PublicAPI.Shipped.txt b/src/Imageflow.Server.Storage.AzureBlob/PublicAPI.Shipped.txt index de629ae0..08de74bc 100644 --- a/src/Imageflow.Server.Storage.AzureBlob/PublicAPI.Shipped.txt +++ b/src/Imageflow.Server.Storage.AzureBlob/PublicAPI.Shipped.txt @@ -2,8 +2,6 @@ Imageflow.Server.Storage.AzureBlob.AzureBlobService Imageflow.Server.Storage.AzureBlob.AzureBlobServiceExtensions Imageflow.Server.Storage.AzureBlob.AzureBlobServiceOptions -~Imageflow.Server.Storage.AzureBlob.AzureBlobService.AzureBlobService(Imageflow.Server.Storage.AzureBlob.AzureBlobServiceOptions options, Microsoft.Extensions.Logging.ILogger logger) -> void -~Imageflow.Server.Storage.AzureBlob.AzureBlobService.Fetch(string virtualPath) -> System.Threading.Tasks.Task ~Imageflow.Server.Storage.AzureBlob.AzureBlobService.GetPrefixes() -> System.Collections.Generic.IEnumerable ~Imageflow.Server.Storage.AzureBlob.AzureBlobService.SupportsPath(string virtualPath) -> bool ~Imageflow.Server.Storage.AzureBlob.AzureBlobServiceOptions.AzureBlobServiceOptions(string connectionString, Azure.Storage.Blobs.BlobClientOptions blobClientOptions = null) -> void diff --git a/src/Imageflow.Server.Storage.S3/PublicAPI.Shipped.txt b/src/Imageflow.Server.Storage.S3/PublicAPI.Shipped.txt index 0acee779..31bc19c7 100644 --- a/src/Imageflow.Server.Storage.S3/PublicAPI.Shipped.txt +++ b/src/Imageflow.Server.Storage.S3/PublicAPI.Shipped.txt @@ -14,9 +14,7 @@ Imageflow.Server.Storage.S3.S3ServiceExtensions Imageflow.Server.Storage.S3.S3ServiceOptions Imageflow.Server.Storage.S3.S3ServiceOptions.S3ServiceOptions() -> void ~Imageflow.Server.Storage.S3.Caching.NamedCacheConfiguration.NamedCacheConfiguration(string cacheName, Amazon.S3.IAmazonS3 defaultS3Client, string cacheBucketName, Imageflow.Server.Storage.S3.Caching.CacheBucketCreation createIfMissing, Imageflow.Server.Storage.S3.Caching.CacheBucketLifecycleRules updateLifecycleRule, int? slidingExpiryDays) -> void -~Imageflow.Server.Storage.S3.S3Service.Fetch(string virtualPath) -> System.Threading.Tasks.Task ~Imageflow.Server.Storage.S3.S3Service.GetPrefixes() -> System.Collections.Generic.IEnumerable -~Imageflow.Server.Storage.S3.S3Service.S3Service(Imageflow.Server.Storage.S3.S3ServiceOptions options, Amazon.S3.IAmazonS3 s3client, Microsoft.Extensions.Logging.ILogger logger) -> void ~Imageflow.Server.Storage.S3.S3Service.SupportsPath(string virtualPath) -> bool ~Imageflow.Server.Storage.S3.S3ServiceOptions.MapPrefix(string prefix, Amazon.S3.IAmazonS3 s3Client, string bucket, string blobPrefix, bool ignorePrefixCase, bool lowercaseBlobPath) -> Imageflow.Server.Storage.S3.S3ServiceOptions ~Imageflow.Server.Storage.S3.S3ServiceOptions.MapPrefix(string prefix, string bucket) -> Imageflow.Server.Storage.S3.S3ServiceOptions diff --git a/tests/Imazen.HybridCache.Tests/packages.lock.json b/tests/Imazen.HybridCache.Tests/packages.lock.json index fa63f86e..69df7e0c 100644 --- a/tests/Imazen.HybridCache.Tests/packages.lock.json +++ b/tests/Imazen.HybridCache.Tests/packages.lock.json @@ -17,15 +17,6 @@ "System.Threading.Tasks.Extensions": "4.5.0" } }, - "Microsoft.Extensions.FileProviders.Embedded": { - "type": "Direct", - "requested": "[8.0.7, )", - "resolved": "8.0.7", - "contentHash": "ABsn0T09b5lzVNbOcuRc10+kNZkO+RGtZWfzqVay0Ah+/ouhEvG7JrXc+9+7zFgoPuH4E4N6+uWfTp+pJqMeGw==", - "dependencies": { - "Microsoft.Extensions.FileProviders.Abstractions": "8.0.0" - } - }, "Microsoft.NET.Test.Sdk": { "type": "Direct", "requested": "[17.10.0, )", @@ -151,6 +142,14 @@ "Microsoft.Extensions.Primitives": "8.0.0" } }, + "Microsoft.Extensions.FileProviders.Embedded": { + "type": "Transitive", + "resolved": "8.0.7", + "contentHash": "ABsn0T09b5lzVNbOcuRc10+kNZkO+RGtZWfzqVay0Ah+/ouhEvG7JrXc+9+7zFgoPuH4E4N6+uWfTp+pJqMeGw==", + "dependencies": { + "Microsoft.Extensions.FileProviders.Abstractions": "8.0.0" + } + }, "Microsoft.Extensions.Hosting.Abstractions": { "type": "Transitive", "resolved": "2.2.0", @@ -461,24 +460,6 @@ "System.Configuration.ConfigurationManager": "4.4.0" } }, - "Microsoft.AspNetCore.TestHost": { - "type": "Direct", - "requested": "[6.0.27, )", - "resolved": "6.0.27", - "contentHash": "KhpZ4ygPB7y/XxT+I6sk8y0Xgekc8EfdE9QH2Hvk1VDk5BK6d8tN/Ck7IshGXS34JeNdAdWd0N/beoijq5dgcw==", - "dependencies": { - "System.IO.Pipelines": "6.0.3" - } - }, - "Microsoft.Extensions.FileProviders.Embedded": { - "type": "Direct", - "requested": "[8.0.7, )", - "resolved": "8.0.7", - "contentHash": "ABsn0T09b5lzVNbOcuRc10+kNZkO+RGtZWfzqVay0Ah+/ouhEvG7JrXc+9+7zFgoPuH4E4N6+uWfTp+pJqMeGw==", - "dependencies": { - "Microsoft.Extensions.FileProviders.Abstractions": "8.0.0" - } - }, "Microsoft.NET.Test.Sdk": { "type": "Direct", "requested": "[17.10.0, )", @@ -543,6 +524,14 @@ "System.Text.Json": "6.0.9" } }, + "Microsoft.AspNetCore.TestHost": { + "type": "Transitive", + "resolved": "6.0.27", + "contentHash": "KhpZ4ygPB7y/XxT+I6sk8y0Xgekc8EfdE9QH2Hvk1VDk5BK6d8tN/Ck7IshGXS34JeNdAdWd0N/beoijq5dgcw==", + "dependencies": { + "System.IO.Pipelines": "6.0.3" + } + }, "Microsoft.Bcl.AsyncInterfaces": { "type": "Transitive", "resolved": "6.0.0", @@ -582,6 +571,14 @@ "Microsoft.Extensions.Primitives": "8.0.0" } }, + "Microsoft.Extensions.FileProviders.Embedded": { + "type": "Transitive", + "resolved": "8.0.7", + "contentHash": "ABsn0T09b5lzVNbOcuRc10+kNZkO+RGtZWfzqVay0Ah+/ouhEvG7JrXc+9+7zFgoPuH4E4N6+uWfTp+pJqMeGw==", + "dependencies": { + "Microsoft.Extensions.FileProviders.Abstractions": "8.0.0" + } + }, "Microsoft.Extensions.Hosting.Abstractions": { "type": "Transitive", "resolved": "2.2.0", @@ -860,24 +857,6 @@ "System.Configuration.ConfigurationManager": "4.4.0" } }, - "Microsoft.AspNetCore.TestHost": { - "type": "Direct", - "requested": "[6.0.27, )", - "resolved": "6.0.27", - "contentHash": "KhpZ4ygPB7y/XxT+I6sk8y0Xgekc8EfdE9QH2Hvk1VDk5BK6d8tN/Ck7IshGXS34JeNdAdWd0N/beoijq5dgcw==", - "dependencies": { - "System.IO.Pipelines": "6.0.3" - } - }, - "Microsoft.Extensions.FileProviders.Embedded": { - "type": "Direct", - "requested": "[8.0.7, )", - "resolved": "8.0.7", - "contentHash": "ABsn0T09b5lzVNbOcuRc10+kNZkO+RGtZWfzqVay0Ah+/ouhEvG7JrXc+9+7zFgoPuH4E4N6+uWfTp+pJqMeGw==", - "dependencies": { - "Microsoft.Extensions.FileProviders.Abstractions": "8.0.0" - } - }, "Microsoft.NET.Test.Sdk": { "type": "Direct", "requested": "[17.10.0, )", @@ -942,6 +921,14 @@ "System.Text.Json": "6.0.9" } }, + "Microsoft.AspNetCore.TestHost": { + "type": "Transitive", + "resolved": "6.0.27", + "contentHash": "KhpZ4ygPB7y/XxT+I6sk8y0Xgekc8EfdE9QH2Hvk1VDk5BK6d8tN/Ck7IshGXS34JeNdAdWd0N/beoijq5dgcw==", + "dependencies": { + "System.IO.Pipelines": "6.0.3" + } + }, "Microsoft.Bcl.AsyncInterfaces": { "type": "Transitive", "resolved": "6.0.0", @@ -981,6 +968,14 @@ "Microsoft.Extensions.Primitives": "8.0.0" } }, + "Microsoft.Extensions.FileProviders.Embedded": { + "type": "Transitive", + "resolved": "8.0.7", + "contentHash": "ABsn0T09b5lzVNbOcuRc10+kNZkO+RGtZWfzqVay0Ah+/ouhEvG7JrXc+9+7zFgoPuH4E4N6+uWfTp+pJqMeGw==", + "dependencies": { + "Microsoft.Extensions.FileProviders.Abstractions": "8.0.0" + } + }, "Microsoft.Extensions.Hosting.Abstractions": { "type": "Transitive", "resolved": "2.2.0", diff --git a/tests/ImazenShared.Tests/Licensing/DataStructureTests.cs b/tests/ImazenShared.Tests/Licensing/DataStructureTests.cs index d652c3e5..f3380c96 100644 --- a/tests/ImazenShared.Tests/Licensing/DataStructureTests.cs +++ b/tests/ImazenShared.Tests/Licensing/DataStructureTests.cs @@ -299,7 +299,7 @@ public async Task TestInterlockedMax() } })).ToArray(); - Task.WaitAll(tasks); + await Task.WhenAll(tasks); } [Fact] @@ -314,7 +314,7 @@ public async Task TestInterlockedMin() } })).ToArray(); - Task.WaitAll(tasks); + await Task.WhenAll(tasks); } } }