Fix CoinJoinWithBlameRoundTestAsync
MODIFY
WalletWasabi.Tests/UnitTests/WabiSabi/Integration/WabiSabiHttpApiIntegrationTests.cs
WalletWasabi.Tests/UnitTests/WabiSabi/Integration/WabiSabiHttpApiIntegrationTests.cs
@@ -300,9 +300,10 @@ public class WabiSabiHttpApiIntegrationTests : IClassFixture<WabiSabiApiApplicat
var badCoinsTask = Task.Run(async () => await badCoinJoinClient.StartRoundAsync(badCoins, roundState, cts.Token).ConfigureAwait(false), cts.Token);
- await Task.WhenAll(new Task[] { badCoinsTask, coinJoinTask });
+ // BadCoinsTask will throw.
+ await Assert.ThrowsAsync<AggregateException>(async () => await Task.WhenAll(new Task[] { badCoinsTask, coinJoinTask }));
- Assert.False(badCoinsTask.Result);
+ Assert.True(badCoinsTask.IsFaulted);
Assert.True(coinJoinTask.Result);
var broadcastedTx = await transactionCompleted.Task; // wait for the transaction to be broadcasted.

Fix CoinJoinWithBlameRoundTestAsync