Fix integration tests to work with the useragent filter at either version 3.2.2 or 3.2.3

Fixes #10021
This commit is contained in:
Dan Hermann 2018-09-26 07:41:34 -05:00
parent 669ccad8f6
commit cb426ae89e

View file

@ -36,6 +36,6 @@ describe "Test Elasticsearch output" do
expect(s["geoip"]["longitude"]).to be_between(-180, 180)
expect(s["geoip"]["latitude"]).to be_between(-90, 90)
expect(s["verb"]).to eq("GET")
expect(s["useragent"]["os"]).to eq("Windows")
expect(s["useragent"]["os"]).to match(/Windows/)
end
end