Skip to content
Snippets Groups Projects
Commit eff64387 authored by Ryan Senior's avatar Ryan Senior
Browse files

Added similar date bucketing test exceptions for JVM timezone [ci drivers]

Similar to the exceptions needed for SQLServer and H2 when changing
JVM timezones, Mongo is also sensitive to this, so the tests should be
run on Mongo.
parent fe386a21
No related branches found
No related tags found
No related merge requests found
......@@ -216,9 +216,9 @@
;; data was also stored in that timezone. This leads to incorrect
;; results. In this example it applies the pacific offset twice
;;
;; SQLServer and Redshift are exlcluded as they give incorrect results when the JVM
;; timezone doesn't match the database's timezone
(expect-with-non-timeseries-dbs-except #{:h2 :sqlserver :redshift}
;; The exclusions here are databases that give incorrect answers when
;; the JVM timezone doesn't match the databases timezone
(expect-with-non-timeseries-dbs-except #{:h2 :sqlserver :redshift :mongo}
(cond
(contains? #{:sqlite :crate} *engine*)
(sad-toucan-result (source-date-formatter utc-tz) result-date-formatter-without-tz)
......@@ -504,9 +504,9 @@
;; twice, so instead of -07:00 it will become -14:00. Leaving out the
;; test rather than validate wrong results.
;;
;; SQLServer and Redshift are exlcluded as they give incorrect results when the JVM
;; timezone doesn't match the database's timezone
(expect-with-non-timeseries-dbs-except #{:h2 :sqlserver :redshift}
;; The exclusions here are databases that give incorrect answers when
;; the JVM timezone doesn't match the databases timezone
(expect-with-non-timeseries-dbs-except #{:h2 :sqlserver :redshift :mongo}
(cond
(contains? #{:sqlite :crate} *engine*)
(results-by-day date-formatter-without-time
......@@ -701,9 +701,9 @@
;; displayed but don't impact the calculation of the begin/end of the
;; week
;;
;; SQLServer and Redshift are exlcluded as they give incorrect results when the JVM
;; timezone doesn't match the database's timezone
(expect-with-non-timeseries-dbs-except #{:h2 :sqlserver :redshift}
;; The exclusions here are databases that give incorrect answers when
;; the JVM timezone doesn't match the databases timezone
(expect-with-non-timeseries-dbs-except #{:h2 :sqlserver :redshift :mongo}
(cond
(contains? #{:sqlite :crate} *engine*)
(results-by-week date-formatter-without-time
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment