Flaky test: test_import_timestamp

Description

Error message:

Flaky pattern:
This test failed because the utc_now and import date might be assigned at different times. The error message was "'18:30' != u'18:29'", meaning it uploaded it at 18:29, then, when we assigned utc_now, the time had crossed the minute to18:30.

Possible fixes:

  • Mock utcnow somehow.

  • Check for the date and time within a certain range, rather than doing a string comparison.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Status

Assignee

clytwynecR

Reporter

clytwynecR

Reach

None

Impact

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Stakeholders

None

Priority

CAT-2
Configure