Skip to content

Rails5 fix MySQL milliseconds problem in specs

Jasper Maes requested to merge jlemaes/gitlab-ce:rails5-fix-48430 into master

What does this MR do?

Fixes time comparison for MySql caused by new Rails 5 behaviour. Rails 5 already rounds datetimes before saving to the database.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

rails5 upgrade

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #48430 (closed)

Edited by Rémy Coutable

Merge request reports

Loading