Remove time sensitivity
MODIFY
WalletWasabi.Tests/UnitTests/WabiSabi/Backend/PhaseStepping/StepTransactionSigningTests.cs
WalletWasabi.Tests/UnitTests/WabiSabi/Backend/PhaseStepping/StepTransactionSigningTests.cs
@@ -233,15 +233,13 @@ namespace WalletWasabi.Tests.UnitTests.WabiSabi.Backend.PhaseStepping
var task1 = aliceClient1.RegisterAndConfirmInputAsync(roundStateUpdater, CancellationToken.None);
var task2 = aliceClient2.RegisterAndConfirmInputAsync(roundStateUpdater, CancellationToken.None);
+ while (Phase.OutputRegistration != round.Phase)
+ {
await arena.TriggerAndWaitRoundAsync(TimeSpan.FromSeconds(21));
- Assert.Equal(Phase.ConnectionConfirmation, round.Phase);
+ }
- await arena.TriggerAndWaitRoundAsync(TimeSpan.FromSeconds(21));
await Task.WhenAll(task1, task2);
- await arena.TriggerAndWaitRoundAsync(TimeSpan.FromSeconds(21));
- Assert.Equal(Phase.OutputRegistration, round.Phase);
-
// Register outputs.
var bobClient = new BobClient(round.Id, arenaClient);
using var destKey1 = new Key();

Remove time sensitivity