diff --git a/Lombiq.NodeJs.Extensions.Samples.NuGet/Lombiq.NodeJs.Extensions.Samples.NuGet.csproj b/Lombiq.NodeJs.Extensions.Samples.NuGet/Lombiq.NodeJs.Extensions.Samples.NuGet.csproj index 3a11b7bd..50ac990c 100644 --- a/Lombiq.NodeJs.Extensions.Samples.NuGet/Lombiq.NodeJs.Extensions.Samples.NuGet.csproj +++ b/Lombiq.NodeJs.Extensions.Samples.NuGet/Lombiq.NodeJs.Extensions.Samples.NuGet.csproj @@ -19,7 +19,7 @@ - + diff --git a/Lombiq.NodeJs.Extensions.Tests/Lombiq.NodeJs.Extensions.Tests.csproj b/Lombiq.NodeJs.Extensions.Tests/Lombiq.NodeJs.Extensions.Tests.csproj index 95cc8b7e..a3bfcf56 100644 --- a/Lombiq.NodeJs.Extensions.Tests/Lombiq.NodeJs.Extensions.Tests.csproj +++ b/Lombiq.NodeJs.Extensions.Tests/Lombiq.NodeJs.Extensions.Tests.csproj @@ -6,7 +6,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Lombiq.NodeJs.Extensions.Tests/MutexReaderWriterTest.cs b/Lombiq.NodeJs.Extensions.Tests/MutexReaderWriterTest.cs index 5c9afe09..d7f44f00 100644 --- a/Lombiq.NodeJs.Extensions.Tests/MutexReaderWriterTest.cs +++ b/Lombiq.NodeJs.Extensions.Tests/MutexReaderWriterTest.cs @@ -27,7 +27,7 @@ public class MutexReaderWriterTest public MutexReaderWriterTest(ITestOutputHelper testOutputHelper) => _testOutputHelper = testOutputHelper; [Fact] - public void SyncReadersAndWriters() + public Task SyncReadersAndWriters() { var timeout = TimeSpan.FromMilliseconds(MaxWaitTimeMs); @@ -39,7 +39,7 @@ public void SyncReadersAndWriters() .Select(Task.Run) .ToArray(); - Task.WaitAll(tasks); + return Task.WhenAll(tasks); } private Action CreateReaderAction(int actionIndex, TimeSpan timeout) => () =>