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

mod_quiz_lib_testcase::test_quiz_get_user_attempts failing randomly

    XMLWordPrintable

Details

    Description

      Seen this failure 3 times now on ci servers (only php7 curiously):

      1) mod_quiz_lib_testcase::test_quiz_get_user_attempts
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'finished'
      +'abandoned'
       
      /Users/Shared/Jenkins/Home/git_repositories/master/mod/quiz/tests/lib_test.php:435
      /Users/Shared/Jenkins/Home/git_repositories/master/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       /Users/Shared/Jenkins/Home/composer_base/master/vendor/bin/phpunit mod_quiz_lib_testcase mod/quiz/tests/lib_test.php
      

      http://ci7.stronk7.com:81/job/20.%20Run%20phpunit%20UnitTests%20PostgreSQL%20(master)/7988/console
      http://ci7.stronk7.com:81/job/20.%20Run%20phpunit%20UnitTests%20PostgreSQL%20(master)/7982/console
      http://ci7.stronk7.com:81/job/20.%20Run%20phpunit%20UnitTests%20PostgreSQL%20(master)/7981/console

      Attachments

        Issue Links

          Activity

            People

              mr-russ Russell Smith
              poltawski Dan Poltawski
              Rajesh Taneja Rajesh Taneja
              Andrew Lyons Andrew Lyons
              Adrian Greeve Adrian Greeve
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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