Files
awx/awx/main/tests
Akita Noek 39d84c3cda 5% performance boost on make test
Calling `.after` on a dateutil.rrule object that has an UNTIL clause
performs very poorly if the interval is low and the start time is a long
time ago. This patch replaces two test cases where we were using a
minute interval with a fixed start time of (currently) 2 years ago,
which resulted in aproximately 40s of execution time to simply evaluate
`.after(now())`. Replacing these two tests with tests that start from
"yesterday" while keeping the same INTERVAL and UNTIL settings
eliminates this unnecessary slowdown while maintaining the spirit of the
original tests.
2016-01-25 09:37:59 -05:00
..
2015-07-29 15:07:40 -04:00
2016-01-11 16:01:16 -05:00
2015-06-11 16:10:23 -04:00
2015-12-17 11:34:01 -05:00
2015-12-17 11:34:01 -05:00
2015-07-08 14:31:02 -04:00
2015-10-01 10:49:58 -04:00
2015-06-11 16:10:23 -04:00
2015-12-17 11:34:01 -05:00
2016-01-25 09:37:59 -05:00
2015-06-11 16:10:23 -04:00
2015-12-17 11:34:01 -05:00
2015-09-01 16:15:39 -04:00