Skip to content

Commit

Permalink
fix randomness in test
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed Aug 29, 2024
1 parent bcf1c24 commit 5741131
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ json:
match:
count: 10
sort:
- count: {"order" : "desc"}
- id: {"order" : "desc"}
expected:
hits:
total:
value: 4
relation: "eq"
hits:
- _source: { "count": 15, "id": 2 }
- _source: { "count": -2.5, "id": 4 }
- _source: { "id": 5 }
- _source: { "count": -2.5, "id": 4 }
- _source: { "id": 3 }
- _source: { "count": 15, "id": 2 }
---
endpoint: _elastic/sortorder/_search
json:
Expand All @@ -29,16 +29,16 @@ json:
match:
count: 10
sort:
- count: {"order" : "asc"}
- id: {"order" : "asc"}
expected:
hits:
total:
value: 4
relation: "eq"
hits:
- _source: {"count": -2.5, "id": 4}
- _source: {"count": 15, "id": 2 }
- _source: {"id": 3}
- _source: {"count": -2.5, "id": 4}
- _source: {"id": 5}
---
endpoint: _elastic/sortorder/_search
Expand Down

0 comments on commit 5741131

Please sign in to comment.