From 7cc50c29b1510a01bca6a0548693860f9190789f Mon Sep 17 00:00:00 2001 From: jvandaal Date: Mon, 9 Dec 2024 16:06:44 +0100 Subject: [PATCH] test: elastic integration --- .../AddressSearchTests.cs | 4 ++-- .../ElasticsearchClientTestFixture.cs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/AddressRegistry.Projections.Elastic.IntegrationTests/AddressSearchTests.cs b/test/AddressRegistry.Projections.Elastic.IntegrationTests/AddressSearchTests.cs index 4d0b58df7..cea1fa5b0 100644 --- a/test/AddressRegistry.Projections.Elastic.IntegrationTests/AddressSearchTests.cs +++ b/test/AddressRegistry.Projections.Elastic.IntegrationTests/AddressSearchTests.cs @@ -57,8 +57,8 @@ public AddressSearchTests() _addressSearchClient = new AddressApiElasticsearchClient(_elasticClient, _elasticAlias, new NullLoggerFactory()); } - //[Fact(Skip = "This is a test that should be run manually")] - [Fact] + [Fact(Skip = "This is a test that should be run manually")] + //[Fact] public async Task Test() { diff --git a/test/AddressRegistry.Projections.Elastic.IntegrationTests/ElasticsearchClientTestFixture.cs b/test/AddressRegistry.Projections.Elastic.IntegrationTests/ElasticsearchClientTestFixture.cs index dbb787d1b..5efb4274a 100644 --- a/test/AddressRegistry.Projections.Elastic.IntegrationTests/ElasticsearchClientTestFixture.cs +++ b/test/AddressRegistry.Projections.Elastic.IntegrationTests/ElasticsearchClientTestFixture.cs @@ -57,6 +57,7 @@ public async Task CreateIndex(string name) public Task DisposeAsync() { + _dockerService?.Stop(); _dockerService?.Dispose(); return Task.CompletedTask; }