Opened 13 years ago
Closed 13 years ago
#16780 closed Cleanup/optimization (fixed)
Timing sensitivity in templates regression tests
Reported by: | Russell Keith-Magee | Owned by: | nobody |
---|---|---|---|
Component: | Template system | Version: | 1.3 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Note:
See TracTickets
for help on using tickets.
In [16735]: