Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
Signed-off-by: Gao Binlong <gbinlong@amazon.com>
  • Loading branch information
gaobinlong committed Sep 19, 2024
1 parent 087bf27 commit 605d96d
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ setup:
type: keyword
- do:
index:
index: test
index: test_1
id: 1
body: { text: test search as you type }

- do:
indices.refresh:
index: [test_1]

---
teardown:
- do:
indices.delete:
Expand Down Expand Up @@ -49,7 +50,7 @@ teardown:
query: "test search"
type: "bool_prefix"

- match: {hits.total: 1}
- match: {hits.total.value: 1}

- do:
search:
Expand All @@ -59,4 +60,4 @@ teardown:
term:
text.subField: "test search as you type"

- match: {hits.total: 1}
- match: {hits.total.value: 1}

0 comments on commit 605d96d

Please sign in to comment.