We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6a0974 commit 3d3050fCopy full SHA for 3d3050f
src/test/java/org/logstash/filters/geoip/GeoIPFilterTest.java
@@ -278,6 +278,11 @@ void handleEventWithNoCustomFieldsShouldUseDatabasesDefaultFields() {
278
void givenDatabaseWithCustomizedFieldWhenItsAccessedTheCustomizedIPShouldntThrowAnyErrorAndReportTheLookupAsFailure(Path geoDatabase) {
279
try (final GeoIPFilter filter = createFilter(geoDatabase, true, Collections.emptyList())) {
280
final RubyEvent rubyEvent = createRubyEvent("216.160.83.60");
281
+ try {
282
+ filter.handleEvent(rubyEvent);
283
+ } catch (final Exception e) {
284
+ e.printStackTrace();
285
+ }
286
assertFalse(filter.handleEvent(rubyEvent), "Lookup of data point with invalid custom fields should report as failed");
287
}
288
0 commit comments