Skip to content

Commit be7e1f3

Browse files
committed
Changing expected values to match those in the mmdb files before #122225
1 parent 68b73cb commit be7e1f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,17 @@ public void testEnterpriseDownloaderTask() throws Exception {
126126
assertNotNull(returnedSource);
127127
Object targetFieldValue = returnedSource.get(targetField);
128128
assertNotNull(targetFieldValue);
129-
assertThat(((Map<String, Object>) targetFieldValue).get("city_name"), equalTo("Linköping"));
129+
assertThat(((Map<String, Object>) targetFieldValue).get("organization_name"), equalTo("Bredband2 AB"));
130130
});
131131
assertBusy(() -> {
132132
logger.info("Ingesting another test document");
133-
String documentId = ingestDocument(indexName, iplocationPipelineName, sourceField, "103.134.48.0");
133+
String documentId = ingestDocument(indexName, iplocationPipelineName, sourceField, "12.10.66.1");
134134
GetResponse getResponse = client().get(new GetRequest(indexName, documentId)).actionGet();
135135
Map<String, Object> returnedSource = getResponse.getSource();
136136
assertNotNull(returnedSource);
137137
Object targetFieldValue = returnedSource.get(targetField);
138138
assertNotNull(targetFieldValue);
139-
assertThat(((Map<String, Object>) targetFieldValue).get("organization_name"), equalTo("PT Nevigate Telekomunikasi Indonesia"));
139+
assertThat(((Map<String, Object>) targetFieldValue).get("organization_name"), equalTo("OAKLAWN JOCKEY CLUB, INC."));
140140
});
141141
}
142142

0 commit comments

Comments
 (0)