不要怂,就是干,撸起袖子干!

Commit 32d2374a by Matt Broadstone

fix timestamp test

The existing timestamp test checked the values within 50ms of each
other, since 50ms was a realistic latency for the existing test
framework (locally on travis with pg, mysql, etc). The mssql tests
generally take much longer, but this solution accounts for both and
future cases.
1 parent 3fe76192
Showing with 1 additions and 1 deletions
...@@ -22,7 +22,7 @@ if (dialect !== 'sqlite') { ...@@ -22,7 +22,7 @@ if (dialect !== 'sqlite') {
var now = 'now()' var now = 'now()'
, startQueryTime = Date.now(); , startQueryTime = Date.now();
if(dialect === 'mssql'){ if (dialect === 'mssql') {
now = 'GETDATE()'; now = 'GETDATE()';
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!