Skip to content

Commit 47f4971

Browse files
authored
Update IPinfo mmdb fixture files (#122277) (#122292)
1 parent 34db83f commit 47f4971

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

modules/ingest-geoip/src/test/java/org/elasticsearch/ingest/geoip/IpinfoIpDataLookupsTests.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,16 @@ public void testParseLocationDouble() {
104104
public void testAsnFree() {
105105
assumeFalse("https://github.com/elastic/elasticsearch/issues/114266", Constants.WINDOWS);
106106
String databaseName = "ip_asn_sample.mmdb";
107-
String ip = "23.32.184.0";
107+
String ip = "23.200.217.1";
108108
assertExpectedLookupResults(
109109
databaseName,
110110
ip,
111111
new IpinfoIpDataLookups.Asn(Database.AsnV2.properties()),
112112
Map.ofEntries(
113113
entry("ip", ip),
114-
entry("organization_name", "Akamai Technologies, Inc."),
115-
entry("asn", 16625L),
116-
entry("network", "23.32.184.0/21"),
114+
entry("organization_name", "Akamai Technologies Tokyo ASN"),
115+
entry("asn", 24319L),
116+
entry("network", "23.200.217.0/24"),
117117
entry("domain", "akamai.com")
118118
),
119119
Map.ofEntries(entry("name", "organization_name"), entry("asn", "asn"), entry("network", "network"), entry("domain", "domain")),
@@ -125,17 +125,17 @@ public void testAsnFree() {
125125
public void testAsnStandard() {
126126
assumeFalse("https://github.com/elastic/elasticsearch/issues/114266", Constants.WINDOWS);
127127
String databaseName = "asn_sample.mmdb";
128-
String ip = "69.19.224.0";
128+
String ip = "207.244.150.1";
129129
assertExpectedLookupResults(
130130
databaseName,
131131
ip,
132132
new IpinfoIpDataLookups.Asn(Database.AsnV2.properties()),
133133
Map.ofEntries(
134134
entry("ip", ip),
135-
entry("organization_name", "TPx Communications"),
136-
entry("asn", 14265L),
137-
entry("network", "69.19.224.0/22"),
138-
entry("domain", "tpx.com"),
135+
entry("organization_name", "Wowrack.com"),
136+
entry("asn", 23033L),
137+
entry("network", "207.244.150.0/23"),
138+
entry("domain", "wowrack.com"),
139139
entry("type", "hosting"),
140140
entry("country_iso_code", "US")
141141
),
@@ -192,15 +192,15 @@ public void testAsnInvariants() {
192192
public void testCountryFree() {
193193
assumeFalse("https://github.com/elastic/elasticsearch/issues/114266", Constants.WINDOWS);
194194
String databaseName = "ip_country_sample.mmdb";
195-
String ip = "20.33.76.0";
195+
String ip = "149.7.32.1";
196196
assertExpectedLookupResults(
197197
databaseName,
198198
ip,
199199
new IpinfoIpDataLookups.Country(Database.CountryV2.properties()),
200200
Map.ofEntries(
201201
entry("ip", ip),
202-
entry("country_name", "Ireland"),
203-
entry("country_iso_code", "IE"),
202+
entry("country_name", "United Kingdom"),
203+
entry("country_iso_code", "GB"),
204204
entry("continent_name", "Europe"),
205205
entry("continent_code", "EU")
206206
),
@@ -289,14 +289,14 @@ public void testGeolocationInvariants() {
289289
public void testPrivacyDetectionStandard() {
290290
assumeFalse("https://github.com/elastic/elasticsearch/issues/114266", Constants.WINDOWS);
291291
String databaseName = "privacy_detection_sample.mmdb";
292-
String ip = "2.57.109.154";
292+
String ip = "20.102.24.249";
293293
assertExpectedLookupResults(
294294
databaseName,
295295
ip,
296296
new IpinfoIpDataLookups.PrivacyDetection(Database.PrivacyDetection.properties()),
297297
Map.ofEntries(
298298
entry("ip", ip),
299-
entry("hosting", false),
299+
entry("hosting", true),
300300
entry("proxy", false),
301301
entry("relay", false),
302302
entry("tor", false),
@@ -317,7 +317,7 @@ public void testPrivacyDetectionStandard() {
317317
public void testPrivacyDetectionStandardNonEmptyService() {
318318
assumeFalse("https://github.com/elastic/elasticsearch/issues/114266", Constants.WINDOWS);
319319
String databaseName = "privacy_detection_sample.mmdb";
320-
String ip = "59.29.201.246";
320+
String ip = "14.52.64.231";
321321
assertExpectedLookupResults(
322322
databaseName,
323323
ip,
-169 Bytes
Binary file not shown.
242 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)