Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-85522

Random failure on "test_get_first_post_for_discussion_ids"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.4.5, 4.5.1, 5.0
    • Forum, Unit tests
    • None
    • MOODLE_404_STABLE, MOODLE_405_STABLE, MOODLE_500_STABLE

      This random failure started to happen on 06/02/2025 in all branches, regardless of the database or PHP version.

      Failed builds

      Console Output

      1) mod_forum\vaults_post_test::test_get_first_post_for_discussion_ids
      Failed asserting that actual size 2 matches expected size 1.
       
      /var/www/html/mod/forum/tests/vaults_post_test.php:883
      /var/www/html/lib/phpunit/classes/advanced_testcase.php:76
      

            Unassigned Unassigned
            lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.