Skip to content

Commit

Permalink
Merge pull request #4297 from vespa-engine/toregge/expect-issue-repor…
Browse files Browse the repository at this point in the history
…t-when-searching-in-raw-attribute

Expect issue report when searching in raw attribute.
  • Loading branch information
geirst authored Dec 4, 2024
2 parents d23ec49 + 655e0b1 commit 1d9ef0e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/search/raw_attributes/raw_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,13 @@ def assert_empty_raw_search
query = "/search/?" + URI.encode_www_form(form)
result = search(query)
assert_equal(0, result.hitcount)
assert_nil(result.errorlist)
if is_streaming
# TODO: Report issue also for streaming search
assert_nil(result.errorlist)
else
assert_not_nil(result.errorlist)
assert_match(/Search is not supported for attribute/, result.errorlist[0]['message'])
end
end

def teardown
Expand Down

0 comments on commit 1d9ef0e

Please sign in to comment.