Skip to content

Commit

Permalink
Group limit tests together for bwc
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Jun 5, 2024
1 parent 8cb2a54 commit 98671d0
Showing 1 changed file with 17 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,21 @@ setup:
id: "test-id-2"

---
"Pagination - invalid size":
"Pagination - invalid size and from":
- do:
catch: bad_request
synonyms.get_synonym:
id: test-get-synonyms
size: -1

- do:
catch: bad_request
synonyms.get_synonym:
id: test-get-synonyms
from: -1

---
"Pagination - synonym max size exceeded":
- requires:
cluster_features: ["gte_v8.15.0"]
reason: Synonym size checks introduced in 8.15.0
Expand All @@ -65,13 +79,13 @@ setup:
catch: bad_request
synonyms.get_synonym:
id: test-get-synonyms
size: -1
size: 100001

- do:
catch: bad_request
synonyms.get_synonym:
id: test-get-synonyms
size: 100001
from: 100001

---
"Pagination - from":
Expand All @@ -89,24 +103,6 @@ setup:
- synonyms: "test => check"
id: "test-id-3"

---
"Pagination - invalid from":
- requires:
cluster_features: ["gte_v8.15.0"]
reason: Synonym size checks introduced in 8.15.0

- do:
catch: bad_request
synonyms.get_synonym:
id: test-get-synonyms
from: -1

- do:
catch: bad_request
synonyms.get_synonym:
id: test-get-synonyms
from: 100001

---
"Synonyms set with same IDs":
- do:
Expand Down

0 comments on commit 98671d0

Please sign in to comment.