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

test_assign_print_overview random failures

    XMLWordPrintable

Details

    Description

      Over the last days, I've seen this one randomly failing at very least a couple of times.

      Time: 17.73 minutes, Memory: 496.84MB
       
      There was 1 failure:
       
      1) mod_assign_lib_testcase::test_assign_print_overview
      Failed asserting that '<div class="assign overview"><div class="name">Assignment: <a title="Assignment" href="https://www.example.com/moodle/mod/assign/view.php?id=225003">Open Assignment</a></div><div class="info">Due date: Thursday, 14 June 2018, 5:39 PM</div><div class="info">No submissions accepted after : Friday, 15 June 2018, 5:39 PM</div><div class="details"><a href="https://www.example.com/moodle/mod/assign/view.php?id=225003&amp;action=grading">Submissions not graded: 1</a></div></div>' matches PCRE pattern "/.*Assignment with submissions.*/".
       
      /var/www/html/mod/assign/tests/lib_test.php:123
      /var/www/html/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit --verbose "mod_assign_lib_testcase" mod/assign/tests/lib_test.php
      

      (source: https://ci.moodle.org/job/S35.01.02%20-%20PHPUnit%20-%20MySQLi/20/)

      Maybe it's some undesired effect of MDL-55609 that also landed this week. Linking both.

      Ciao

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              stronk7 Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Jake Dallimore Jake Dallimore
              CiBoT CiBoT
              Jake Dallimore, Mathew May, Mihail Geshoski, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jul/18