Timing sensitivity in templates regression tests
|Reported by:||Russell Keith-Magee||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.