Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix flakey time test #727

Merged
merged 1 commit into from
Feb 7, 2016
Merged

Conversation

lukeasrodgers
Copy link
Contributor

This test will fail if run on a non-UTC machine in a certain time frame.

For example, if running in EST after 7pm, the date stored in the database (which is in UTC) will be the following day (because it is 5 hours ahead -- after midnight), while the query will be for the current day.

For example, if running in EST after 7pm, the date stored in the
database (which is in UTC) will be the following day (because it is 5
hours ahead -- after midnight), while the query will be for the current
day.
@lukeasrodgers lukeasrodgers changed the title This test will fail if run on a non-UTC machine in a certain time frame. Bugfix flakey time test Feb 7, 2016
seuros added a commit that referenced this pull request Feb 7, 2016
@seuros seuros merged commit b00a615 into mbleigh:master Feb 7, 2016
tekniklr pushed a commit to tekniklr/acts-as-taggable-on that referenced this pull request Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants