Use UTC timestamp in date comparison test.

This commit is contained in:
Neil Macneale IV
2023-05-16 15:08:31 -07:00
committed by GitHub

View File

@@ -2544,7 +2544,7 @@ SQL
[ "$status" -eq 0 ]
[[ "$output" =~ "3" ]] || false
run dolt sql -q "SELECT COUNT(*) from dolt_diff_t where to_commit_date < now()"
run dolt sql -q "SELECT COUNT(*) from dolt_diff_t where to_commit_date < UTC_TIMESTAMP()"
[ "$status" -eq 0 ]
[[ "$output" =~ "3" ]] || false
}