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

              • Assignee:
                dobedobedoh Andrew Nicols
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Peer reviewer:
                Eloy Lafuente (stronk7)
                Integrator:
                Jake Dallimore
                Tester:
                CiBoT
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias, Andrew Nicols, Mathew May, 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:
                  9/Jul/18