-
Bug
-
Resolution: Deferred
-
Minor
-
None
-
3.1.4, 3.2.1, 3.3
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
It seems that these 2 tests:
- core_calendar_rrule_manager_testcase::test_monthly_events
- core_calendar_rrule_manager_testcase::test_yearly_events
Are failing consistently everywhere right now (AU Feb 1st 2017 - 00:55 / EU Jan 31th - 17:55). Some hours ago they weren't. Reproducible in CIs, also nightly and locally, all them around the same time:
$ vendor/bin/phpunit core_calendar_rrule_manager_testcase calendar/tests/rrule_manager_test.php
|
Moodle 3.3dev (Build: 20170127), 45bda4d996d2a635667350115cb36e5be109a463
|
Php: 5.6.29, pgsql: 9.3.15, OS: Darwin 16.4.0 x86_64
|
PHPUnit 5.5.7 by Sebastian Bergmann and contributors.
|
|
.....FF 7 / 7 (100%)
|
|
Time: 1.13 seconds, Memory: 58.25MB
|
|
There were 2 failures:
|
|
1) core_calendar_rrule_manager_testcase::test_monthly_events
|
Failed asserting that 4 matches expected 3.
|
|
/Users/stronk7/git_moodle/integration/calendar/tests/rrule_manager_test.php:242
|
/Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit core_calendar_rrule_manager_testcase calendar/tests/rrule_manager_test.php
|
|
2) core_calendar_rrule_manager_testcase::test_yearly_events
|
Failed asserting that 5 matches expected 6.
|
|
/Users/stronk7/git_moodle/integration/calendar/tests/rrule_manager_test.php:423
|
/Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit core_calendar_rrule_manager_testcase calendar/tests/rrule_manager_test.php
|
|
FAILURES!
|
Tests: 7, Assertions: 76, Failures: 2.
|
I imagine this problem is transient and will stop happening soon, but have not verified it. In fact I don't remember this happening in the past, hence, have annotated the exact time it failed.
Ciao
- will be (partly) resolved by
-
MDL-57658 Calendar unit tests do not run and are failing (again!)
-
- Closed
-