Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/SipBotLib.Tests/BlindTransferTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public async Task Final_progress_NOTIFY_is_answered_before_the_BYE()

Assert.True(transferred);
Assert.True(await Within(_notifyAnswered.Task, TimeSpan.FromSeconds(5)), "the NOTIFY got no final response");
var (status, answeredAt) = _notifyAnswered.Task.Result;
var (status, answeredAt) = await _notifyAnswered.Task;
Assert.Equal(SIPResponseStatusCodesEnum.Ok, status);
Assert.True(await Within(_byeAtCallee.Task, TimeSpan.FromSeconds(5)), "the transferee never received a BYE");
Assert.True(_byeAt >= answeredAt, $"BYE at {_byeAt} came before the NOTIFY was answered at {answeredAt}");
Expand Down
Loading