Add Missing Await in Test (#1045)
This commit is contained in:
parent
9cc5d13a40
commit
5ffb082acb
|
|
@ -1538,10 +1538,10 @@ namespace Microsoft.AspNetCore.SignalR.Tests
|
|||
{
|
||||
return Clients.Client(connectionId).Send(message);
|
||||
}
|
||||
public Task DelayedSend(string connectionId, string message)
|
||||
public async Task DelayedSend(string connectionId, string message)
|
||||
{
|
||||
Task.Delay(100);
|
||||
return Clients.Client(connectionId).Send(message);
|
||||
await Task.Delay(100);
|
||||
await Clients.Client(connectionId).Send(message);
|
||||
}
|
||||
public Task GroupAddMethod(string groupName)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue