-
Bug
-
Resolution: Fixed
-
Minor
-
3.1.6, 3.2.3, 3.3
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
MDL-58723-master -
As poltawski commented, this unit test creates a bunch of assertions that checks every recurring event that has been generated. This can become quite a lot (28094 assertions) currently especially for checking events that recur forever (RRULEs without COUNT nor UNTIL rules) since:
- 'forever recurring' events are events that extend up to 10 years from the current date.
- The starting date that is being used in the rrule manager test is based from the examples of the RFC, which is usually 02-09-1997. (Imagine Moodle in 100 years. This particular test would have created way more assertions than today. Yikes!)
Proposed solution:
- Modify the start dates of these forever recurring events to the current date.
- Evaluate only the first 100 records for the tests for forever recurring events. 100 samples should be enough to verify that the recurring events have been correctly generated.
- Discovered while testing
-
MDL-57793 Calendar repeating rule tests are a bit lame.
-
- Closed
-