diff --git a/OpenWeatherMap.Cache.Tests/Tests.cs b/OpenWeatherMap.Cache.Tests/Tests.cs index bd169f5..c075f1a 100644 --- a/OpenWeatherMap.Cache.Tests/Tests.cs +++ b/OpenWeatherMap.Cache.Tests/Tests.cs @@ -42,6 +42,7 @@ public async Task TestConcurrency() { Interlocked.Increment(ref totalFromAPI); } + await Task.Delay(0); }).ToList().AsParallel(); await Task.WhenAll(tasks); @@ -76,7 +77,7 @@ public async Task TestConcurrencyAsync() .Select(async i => { var location = new Models.Location(48.6371, -122.1237); - var readings = await openWeatherMapCache.GetReadingsAsync(location).ConfigureAwait(false); + var readings = await openWeatherMapCache.GetReadingsAsync(location); if (readings.IsSuccessful) { Interlocked.Increment(ref totalSuccessful); diff --git a/OpenWeatherMap.Cache/OpenWeatherMap.Cache.csproj b/OpenWeatherMap.Cache/OpenWeatherMap.Cache.csproj index 2c4536b..0855561 100644 --- a/OpenWeatherMap.Cache/OpenWeatherMap.Cache.csproj +++ b/OpenWeatherMap.Cache/OpenWeatherMap.Cache.csproj @@ -8,7 +8,7 @@ https://github.com/MarkCiliaVincenti/OpenWeatherMap.Cache MIT MIT - 1.9.11 + 1.9.12 logo.png Dependency update. An asynchronous .NET Standard 2.0 library that allows you to fetch & cache current weather readings from the OpenWeather API, with built-in resiliency that can extend the cache lifetime in case the API is unreachable. @@ -16,8 +16,8 @@ OpenWeather,OpenWeatherMap,cache,weather,API,.NET Standard,netstandard git false - 1.9.11.0 - 1.9.11.0 + 1.9.12.0 + 1.9.12.0 README.md true True @@ -34,9 +34,9 @@ - + - +