Skip to content

Commit 1fe4a96

Browse files
committed
fixup
1 parent 12aacd0 commit 1fe4a96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/Test/Integration/ConnectionRecovery/TestExchangeRecovery.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ public async Task TestExchangeToExchangeBindingRecovery()
7070
{
7171
await CloseAndWaitForRecoveryAsync();
7272
Assert.True(_channel.IsOpen);
73-
await _channel.BasicPublishAsync(ex_source, RoutingKey.Empty, _encoding.GetBytes("msg"));
73+
await _channel.ConfirmSelectAsync();
74+
await _channel.BasicPublishAsync(ex_source, RoutingKey.Empty, _encoding.GetBytes("msg"), mandatory: true);
75+
await _channel.WaitForConfirmsOrDieAsync();
7476
await AssertMessageCountAsync(q, 1);
7577
}
7678
finally

0 commit comments

Comments
 (0)