Add magic await for magic RPC fail
MODIFY
WalletWasabi.Tests/RegTests.cs
WalletWasabi.Tests/RegTests.cs
@@ -1243,6 +1243,7 @@ namespace WalletWasabi.Tests
// Create a fork that invalidates the blocks containing the funding transaction
_filtersProcessedByWalletCount = 0;
await Global.RpcClient.InvalidateBlockAsync(baseTip);
+ await Task.Delay(1000); // Magic delay for magic RPC fail.
await Global.RpcClient.SendCommandAsync("abandontransaction", fundingTxid.ToString());
await Global.RpcClient.GenerateAsync(10);
await WaitForFiltersToBeProcessedAsync(TimeSpan.FromSeconds(120), 10);

Add magic await for magic RPC fail