Skip to content

Commit 5f88df9

Browse files
committed
Actual endpoint but those things are probably not registered anyway
1 parent 35a63ae commit 5f88df9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ServiceControl.Monitoring.AcceptanceTests/When_querying_disconnected_count.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ await Define<TestContext>(ctx => context = ctx)
3030
.WithServiceResolve((provider, _) =>
3131
{
3232
var endpointName = Conventions.EndpointNamingConvention(typeof(MonitoredEndpoint));
33-
context.FirstInstance = provider.GetRequiredKeyedService<IEndpointInstance>($"{endpointName}0");
34-
context.SecondInstance = provider.GetRequiredKeyedService<IEndpointInstance>($"{endpointName}0");
33+
context.FirstInstance = provider.GetRequiredKeyedService<IEndpointInstance>($"{endpointName}1");
34+
context.SecondInstance = provider.GetRequiredKeyedService<IEndpointInstance>($"{endpointName}2");
3535
return Task.CompletedTask;
3636
})
3737
.Done(async c =>

0 commit comments

Comments
 (0)