Skip to content

Commit

Permalink
Fixed IT test.
Browse files Browse the repository at this point in the history
Signed-off-by: MitchellGale-BitQuill <mitchellg@bitquilltech.com>
  • Loading branch information
MitchellGale committed Sep 19, 2022
1 parent fa5e74f commit 45a6d2e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,15 +237,15 @@ public void testDateTime() throws IOException {

result =
executeQuery(String.format(
"source=%s | eval f = DATETIME('2008-01-01 02:00:00+10:00', '-13:00') | fields f",
"source=%s | eval f = DATETIME('2008-01-01 02:00:00+10:00', '-14:00') | fields f",
TEST_INDEX_DATE));
verifySchema(result,
schema("f", null, "datetime"));
verifySome(result.getJSONArray("datarows"), rows(new Object[]{null}));

result =
executeQuery(String.format(
"source=%s | eval f = DATETIME('2008-01-01 02:00:00', '-13:00') | fields f",
"source=%s | eval f = DATETIME('2008-01-01 02:00:00', '-14:00') | fields f",
TEST_INDEX_DATE));
verifySchema(result,
schema("f", null, "datetime"));
Expand Down

0 comments on commit 45a6d2e

Please sign in to comment.