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

Random phpunit failure on analytics_analysis_testcase (maybe oracle only)

    XMLWordPrintable

Details

    Description

      Hi,

      along the last days, I've seen this happening at least twice:

      1) analytics_analysis_testcase::test_fill_firstanalyses_cache
      Failed asserting that actual size 8 matches expected size 7.
       
      /var/www/html/analytics/tests/analysis_test.php:81
      /var/www/html/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit --verbose "analytics_analysis_testcase" analytics/tests/analysis_test.php
      

      Links:

      Apparently only affecting to Oracle runs, so it maybe some incorrect assumption of ordering in returned recordsets or so (just based on previous cases experience).

      So creating this issue, both as an existing reference and to see if it can be fixed at some point.

      Ciao

      Attachments

        Issue Links

          Activity

            People

              dmonllao David Monllaó
              stronk7 Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Andrew Lyons Andrew Lyons
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 10 minutes
                  1h 10m

                  Clockify

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