Fix broken tests after SDK behaviour changes
SDK won't check endpoint health with single endpoint anymore.
This commit is contained in:
Родитель
3d3aba3d10
Коммит
c26741cc01
|
@ -63,7 +63,8 @@ namespace SignalRServiceExtension.Tests
|
|||
var host = builder
|
||||
.ConfigureAppConfiguration(b => b.AddInMemoryCollection(
|
||||
new Dictionary<string, string> {
|
||||
{ "key", FakeEndpointUtils.GetFakeConnectionString(1).Single() },
|
||||
{ "Azure:SignalR:Endpoints:A", FakeEndpointUtils.GetFakeConnectionString(1).Single() },
|
||||
{ "Azure:SignalR:Endpoints:B", FakeEndpointUtils.GetFakeConnectionString(1).Single() },
|
||||
{ Constants.ServiceTransportTypeName, ServiceTransportType.Persistent.ToString() }
|
||||
}))
|
||||
.ConfigureWebJobs(b => b.AddSignalR().Services.AddAzureClientsCore()).Build();
|
||||
|
|
Загрузка…
Ссылка в новой задаче