File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11import :
2- - logstash-plugins/.ci:travis/defaults.yml@1.x
3- - logstash-plugins/.ci:travis/exec.yml@1.x
2+ - logstash-plugins/.ci:travis/travis.yml@1.x
43
5- env :
6- jobs :
7- - ELASTIC_STACK_VERSION=8.x DOCKER_ENV=dockerjdk17.env
8- - SNAPSHOT=true ELASTIC_STACK_VERSION=8.x DOCKER_ENV=dockerjdk17.env
4+ jobs :
5+ exclude :
6+ - env : ELASTIC_STACK_VERSION=7.current
7+ - env : SNAPSHOT=true ELASTIC_STACK_VERSION=7.current
Original file line number Diff line number Diff line change @@ -90,7 +90,9 @@ def get_port
9090 aggregate_failures ( "event #{ i } " ) do
9191 expect ( event . get ( "message" ) ) . to eq ( "#{ i } ☹" )
9292 expect ( event . get ( ecs_select [ disabled : "host" , v1 : "[@metadata][input][tcp][source][name]" ] ) ) . to eq ( "localhost" ) . or eq ( "ip6-localhost" )
93- expect ( event . get ( ecs_select [ disabled : "[@metadata][ip_address]" , v1 : "[@metadata][input][tcp][source][ip]" ] ) ) . to eq ( '127.0.0.1' )
93+ ip_address = event . get ( ecs_select [ disabled : "[@metadata][ip_address]" , v1 : "[@metadata][input][tcp][source][ip]" ] )
94+ # Account for both ipv4 or ipv6 localhost
95+ expect ( [ "127.0.0.1" , "::1" , "0:0:0:0:0:0:0:1" ] ) . to include ( ip_address )
9496 end
9597 end
9698 end
You can’t perform that action at this time.
0 commit comments