Skip to content

Commit 50579d3

Browse files
authored
[9.0] Re-enabling EnterpriseGeoIpDownloaderIT with verbose logging (elastic#125884) (elastic#125957)
* Re-enabling EnterpriseGeoIpDownloaderIT with verbose logging (elastic#125884) * Changing expected values to match those in the mmdb files before elastic#122225
1 parent 77b667e commit 50579d3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

modules/ingest-geoip/src/internalClusterTest/java/org/elasticsearch/ingest/geoip/EnterpriseGeoIpDownloaderIT.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
import org.elasticsearch.reindex.ReindexPlugin;
3636
import org.elasticsearch.rest.RestStatus;
3737
import org.elasticsearch.test.ESIntegTestCase;
38+
import org.elasticsearch.test.junit.annotations.TestLogging;
3839
import org.elasticsearch.transport.RemoteTransportException;
3940
import org.elasticsearch.xcontent.XContentType;
4041
import org.junit.ClassRule;
@@ -87,6 +88,10 @@ protected Collection<Class<? extends Plugin>> nodePlugins() {
8788
}
8889

8990
@SuppressWarnings("unchecked")
91+
@TestLogging(
92+
reason = "understanding why ipinfo asn database sometimes is not loaded",
93+
value = "org.elasticsearch.ingest.geoip.DatabaseNodeService:TRACE"
94+
)
9095
public void testEnterpriseDownloaderTask() throws Exception {
9196
/*
9297
* This test starts the enterprise geoip downloader task, and creates a database configuration. Then it creates an ingest

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ tests:
9292
- class: org.elasticsearch.xpack.apmdata.APMYamlTestSuiteIT
9393
method: test {yaml=/10_apm/Test template reinstallation}
9494
issue: https://github.com/elastic/elasticsearch/issues/116445
95-
- class: org.elasticsearch.ingest.geoip.EnterpriseGeoIpDownloaderIT
96-
method: testEnterpriseDownloaderTask
97-
issue: https://github.com/elastic/elasticsearch/issues/115163
9895
- class: org.elasticsearch.versioning.ConcurrentSeqNoVersioningIT
9996
method: testSeqNoCASLinearizability
10097
issue: https://github.com/elastic/elasticsearch/issues/117249

0 commit comments

Comments
 (0)