Skip to content

Commit

Permalink
update test to cover datetime ns precision
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed Oct 18, 2024
1 parent ce3991c commit eb49c71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ expected:
hits:
- _source: {"timestamp": "2015-01-10T12:00:00Z"}
- _source: {"timestamp": "2015-01-10T13:00:00Z"}
- _source: {"timestamp": "2015-01-10T14:00:00Z"}
- _source: {"timestamp": "2015-01-10T14:00:00.000000001Z"}
- _source: {"timestamp": "2015-01-11T12:00:00Z"}
- _source: {"timestamp": "2015-01-11T12:00:00Z"}
--- # ASC + TIMESTAMP filter
Expand Down Expand Up @@ -129,5 +129,5 @@ expected:
- _source: {"timestamp": "2015-01-11T12:00:00Z"}
- _source: {"timestamp": "2015-01-11T12:00:00Z"}
- _source: {"timestamp": "2015-01-11T12:00:00Z"}
- _source: {"timestamp": "2015-01-10T14:00:00Z"}
- _source: {"timestamp": "2015-01-10T14:00:00.000000001Z"}

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ shuffle_ndjson:
- {"timestamp": "2015-01-10T13:00:00Z"}
- {"timestamp": "2015-01-11T12:00:00Z"}
- {"timestamp": "2015-01-10T10:00:00Z"}
- {"timestamp": "2015-01-10T14:00:00Z"} # 1h later than 2.doc
- {"timestamp": "2015-01-10T14:00:00.000000001Z"} # 1h later than 2.doc
- {"timestamp": "2015-01-11T12:00:00Z"}
- {"timestamp": "2015-01-10T10:00:00Z"}
- {"timestamp": "2015-01-10T12:00:00Z"} # 1h earlier than 2. doc
Expand Down

0 comments on commit eb49c71

Please sign in to comment.