Postgres integration tests should use the same definition for "now"

RESOLVED FIXED in 36

Status

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: peterbe, Assigned: peterbe)

Tracking

unspecified
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-])

(Assignee)

Description

6 years ago
Sometimes, when jenkins is super slow, what happens is that the "now()" used in setUp() later becomes different in any of the test_* methods which means our assertEquals fail.
(Assignee)

Comment 1

6 years ago
Here's the pull request: https://github.com/mozilla/socorro/pull/1087

Comment 2

6 years ago
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/28c8b8cf1fc7d13d3994dd198727db0892696b7a
bug 841796 - re-use creation of utc_now() throughout tests, r=AdrianGaudebert
(Assignee)

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Assignee: nobody → peterbe
Target Milestone: --- → 35
Target Milestone: 35 → 36
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.