Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit ea50392

Browse files
committed
Add hostname 'ip6-localhost' as reported by Travis to list of accepted hostnames for test.
Fixes logstash-plugins#97 Fixes logstash-plugins#98
1 parent 7f8f2a7 commit ea50392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/inputs/tcp_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_port
7575
event_count.times do |i|
7676
event = events[i]
7777
insist { event.get("message") } == "#{i} ☹"
78-
insist { event.get("host") } == host
78+
insist { ["localhost","ip6-localhost"].includes? event.get("host") }
7979
insist { event.get("[@metadata][ip_address]") } == '127.0.0.1'
8080
end
8181
end

0 commit comments

Comments
 (0)