Add starting mutex tests
MODIFY
WalletWasabi.Tests/StoreTests.cs
WalletWasabi.Tests/StoreTests.cs
@@ -35,10 +35,12 @@ namespace WalletWasabi.Tests
// Use the mutex two times after each other.
using (await asyncMutex.LockAsync())
{
- await Task.Run(async () =>
+ await Task.Delay(1);
+ }
+
+ using (await asyncMutex.LockAsync())
{
- await Task.Delay(100).ConfigureAwait(false);
- }).ConfigureAwait(false);
+ await Task.Delay(1);
}
// Release the Mutex from another thread.

Add starting mutex tests