diff --git a/Vostok.ServiceDiscovery.Tests/ServiceLocatorStorage/EnvironmentsStorage_Tests.cs b/Vostok.ServiceDiscovery.Tests/ServiceLocatorStorage/EnvironmentsStorage_Tests.cs index f353b39..2945e43 100644 --- a/Vostok.ServiceDiscovery.Tests/ServiceLocatorStorage/EnvironmentsStorage_Tests.cs +++ b/Vostok.ServiceDiscovery.Tests/ServiceLocatorStorage/EnvironmentsStorage_Tests.cs @@ -174,7 +174,7 @@ public void Should_not_delete_environment_from_cache_if_node_was_deleted_when_ob } } - // [Test] + [Test] public void Should_not_delete_environment_from_cache_when_observation_of_deleted_apps_is_disabled_and_client_disconnected() { using (var storage = GetEnvironmentsStorage(observeNonExistentEnvironment: true)) @@ -189,6 +189,8 @@ public void Should_not_delete_environment_from_cache_when_observation_of_deleted storage.UpdateAll(); storage.Contains("default").Should().BeTrue(); ShouldReturn(storage, "default", expectedInfo); + + Ensemble.Start(); } }