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 Apr 3, 2024
1 parent 35e0d3c commit 644fd96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Fixed
- Fix issue with feature flags where default value may not be honored ([#12849](https://github.com/opensearch-project/OpenSearch/pull/12849))
- Fix UOE While building Exists query for nested search_as_you_type field ([#12048](https://github.com/opensearch-project/OpenSearch/pull/12048))
- Fix from and size parameter can be negative when searching
- Fix from and size parameter can be negative when searching ([#13047](https://github.com/opensearch-project/OpenSearch/pull/13047))

### Security

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ teardown:
---
"Throws exception if from or size query parameter is negative":
- skip:
version: " - 2.13.99"
reason: "fixed in 2.14.0"
version: " - 2.99.99"
reason: "fixed in 3.0.0"
- do:
catch: '/\[from\] parameter cannot be negative, found \[-5\]/'
search:
Expand All @@ -65,7 +65,7 @@ teardown:
search:
index: test_1
from: 0
size: 1
size: 10
body:
query:
match:
Expand All @@ -76,8 +76,8 @@ teardown:
---
"Throws exception if from or size request body parameter is negative":
- skip:
version: " - 2.13.99"
reason: "fixed in 2.14.0"
version: " - 2.99.99"
reason: "fixed in 3.0.0"
- do:
catch: '/\[from\] parameter cannot be negative, found \[-5\]/'
search:
Expand Down Expand Up @@ -105,7 +105,7 @@ teardown:
index: test_1
body:
from: 0
size: 1
size: 10
query:
match:
foo: bar
Expand Down

0 comments on commit 644fd96

Please sign in to comment.