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

Random courselib phpunit failures

    XMLWordPrintable

    Details

      Description

      We are getting this failure @ phpunit randomly:

       
      There was 1 failure:
       
      1) core_course_courselib_testcase::test_course_get_recent_courses
      Failed asserting that an array has the key '160002'.
       
      /var/www/html/course/tests/courselib_test.php:5026
      /var/www/html/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit --verbose "core_course_courselib_testcase" course/tests/courselib_test.php
      

      Not frequent but happens, so creating the issue to better trace it...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Peer reviewer:
              Jun Pataleta
              Integrator:
              Jake Dallimore
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Jul/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h