fix one assert
MODIFY
WalletWasabi.Tests/UnitTests/WabiSabi/Integration/WabiSabiHttpApiIntegrationTests.cs
WalletWasabi.Tests/UnitTests/WabiSabi/Integration/WabiSabiHttpApiIntegrationTests.cs
@@ -400,7 +400,8 @@ public class WabiSabiHttpApiIntegrationTests : IClassFixture<WabiSabiApiApplicat
var badCoinsTask = Task.Run(async () => await badCoinJoinClient.StartRoundAsync(badCoins, roundState, cts.Token).ConfigureAwait(false), cts.Token);
// BadCoinsTask will throw.
- await Assert.ThrowsAsync<TaskCanceledException>(async () => await Task.WhenAll(new Task[] { badCoinsTask, coinJoinTask }));
+ var ex = await Assert.ThrowsAsync<AggregateException>(async () => await Task.WhenAll(new Task[] { badCoinsTask, coinJoinTask }));
+ Assert.True(ex.InnerExceptions.Last() is TaskCanceledException);
Assert.True(badCoinsTask.IsCanceled);
Assert.True(coinJoinTask.Result.SuccessfulBroadcast);
@@ -417,11 +418,6 @@ public class WabiSabiHttpApiIntegrationTests : IClassFixture<WabiSabiApiApplicat
[Theory]
[InlineData(123456, 0.00, 0.00)]
- //[InlineData(123456, 0.01, 0.01)]
- //[InlineData(123456, 0.10, 0.00)] // Highly aggressive monkey.
- //[InlineData(123456, 0.00, 0.10)] // Highly aggressive monkey.
- //[InlineData(123456, 0.05, 0.05)] // Concurrency of aggressive monkeys
- //[InlineData(123456, 0.10, 0.10)]
public async Task MultiClientsCoinJoinTestAsync(
int seed,
double faultInjectorMonkeyAggressiveness,

fix one assert