wait until backend closes
MODIFY
WalletWasabi.Tests/XunitConfiguration/RegTestFixture.cs
WalletWasabi.Tests/XunitConfiguration/RegTestFixture.cs
using Microsoft.AspNetCore.Hosting;
using NBitcoin;
using System;
+using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Backend;
using WalletWasabi.Logging;
@@ -52,7 +53,7 @@ namespace WalletWasabi.Tests.XunitConfiguration
{
// Cleanup tests...
- BackendHost?.StopAsync();
+ BackendHost?.StopAsync().GetAwaiter().GetResult();
BackendHost?.Dispose();
BackendRegTestNode?.Kill(cleanFolder: true);
BackendNodeBuilder?.Dispose();

wait until backend closes