#16780: Timing sensitivity in templates regression tests
-------------------------------------+-------------------------------------
Reporter: russellm | Owner: nobody
Type: | Status: new
Cleanup/optimization | Component: Template
Milestone: | system
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
The templates regression tests uses a TestObj that has a sleep embedded in
it; the tests for template loading and rendering then perform a timing
check to ensure that the "bad" code doesn't run.
However, this is fragile; system conditions on the test box can cause the
test to fail. E.g., if the disk is thrashing, a template will take longer
to load.
--
Ticket URL: <https://code.djangoproject.com/ticket/16780>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.