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

              Assignee:
              mr-russ Russell Smith
              Reporter:
              poltawski Dan Poltawski
              Peer reviewer:
              Rajesh Taneja Rajesh Taneja
              Integrator:
              Andrew Lyons Andrew Lyons
              Tester:
              Adrian Greeve Adrian Greeve
              Participants:
              Component watchers:
              Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jul/16