-
Bug
-
Resolution: Fixed
-
Minor
-
2.8
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE
-
MDL-48054-master -
test_automatic_with_subscribed_discussion_in_unsubscribed_forum() is failing randomly on master:
http://ci.stronk7.com/job/20.%20Run%20phpunit%20UnitTests%20(master)/5354/
http://ci.stronk7.com/job/20.%20Run%20phpunit%20UnitTests%20(master)/5347/
I can reproduce this problem by running in a loop:
while true; do vendor/bin/phpunit --filter=test_automatic_with_subscribed_discussion_in_unsubscribed_forum --stop-on-failure; done
|
Moodle 2.8beta+ (Build: 20141031), pgsql, 4e86f45a3e5f4992dafb3e760365a573f043d3e0
|
PHPUnit 3.7.38 by Sebastian Bergmann.
|
|
Configuration read from /Users/danp/moodles/im/moodle/phpunit.xml
|
|
.
|
|
Time: 10.39 seconds, Memory: 220.00Mb
|
|
OK (1 test, 8 assertions)
|
Moodle 2.8beta+ (Build: 20141031), pgsql, 4e86f45a3e5f4992dafb3e760365a573f043d3e0
|
PHPUnit 3.7.38 by Sebastian Bergmann.
|
|
Configuration read from /Users/danp/moodles/im/moodle/phpunit.xml
|
|
.
|
|
Time: 9.71 seconds, Memory: 220.00Mb
|
|
OK (1 test, 8 assertions)
|
Moodle 2.8beta+ (Build: 20141031), pgsql, 4e86f45a3e5f4992dafb3e760365a573f043d3e0
|
PHPUnit 3.7.38 by Sebastian Bergmann.
|
|
Configuration read from /Users/danp/moodles/im/moodle/phpunit.xml
|
|
.
|
|
Time: 9.6 seconds, Memory: 220.00Mb
|
|
OK (1 test, 8 assertions)
|
Moodle 2.8beta+ (Build: 20141031), pgsql, 4e86f45a3e5f4992dafb3e760365a573f043d3e0
|
PHPUnit 3.7.38 by Sebastian Bergmann.
|
|
Configuration read from /Users/danp/moodles/im/moodle/phpunit.xml
|
|
FProcessing user 172000
|
Processing user 172001
|
Sending post 354000: Discussion 1
|
1 users were sent post 354000, 'Discussion 1'
|
Starting digest processing...
|
Cleaned old digest records
|
|
|
Time: 8.37 seconds, Memory: 220.25Mb
|
|
There was 1 failure:
|
|
1) mod_forum_mail_testcase::test_automatic_with_subscribed_discussion_in_unsubscribed_forum
|
Failed asserting that 1 matches expected 2.
|
|
/Users/danp/moodles/im/moodle/mod/forum/tests/mail_test.php:149
|
/Users/danp/moodles/im/moodle/mod/forum/tests/mail_test.php:537
|
/Users/danp/moodles/im/moodle/lib/phpunit/classes/advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit mod_forum_mail_testcase mod/forum/tests/mail_test.php
|
|
FAILURES!
|
Tests: 1, Assertions: 3, Failures: 1.
|
Moodle 2.8beta+ (Build: 20141031), pgsql, 4e86f45a3e5f4992dafb3e760365a573f043d3e0
|
PHPUnit 3.7.38 by Sebastian Bergmann.
|
|
Configuration read from /Users/danp/moodles/im/moodle/phpunit.xml
|
|
.
|
|
Time: 9.46 seconds, Memory: 220.00Mb
|
|
OK (1 test, 8 assertions)
|
(Note the output on the run when it afails)
- has been marked as being related by
-
MDL-47903 If you reply to a thread and become subscribed before mailed out, you get send the original post
-
- Closed
-