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

Behat scenario fail on fast machine: Mark a student as complete using the completion report

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Run below for few min. make sure it don't fail.

      while [[ $? -eq 0 ]]; do vendor/bin/behat --name "Mark a student as complete using the completion report" --config=[pathtoconfig] --verbose; done
      

      Show
      Run below for few min. make sure it don't fail. while [[ $? -eq 0 ]]; do vendor/bin/behat --name "Mark a student as complete using the completion report" --config=[pathtoconfig] --verbose; done
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull Master Branch:
      wip-mdl-52376

      Description

      On fast machines: behat scenario "Mark a student as complete using the completion report" fails.

      This happens because the records are being created at same time, and the query is considering records which were created less then that time.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rajeshtaneja Rajesh Taneja
                Reporter:
                rajeshtaneja Rajesh Taneja
                Peer reviewer:
                Dan Poltawski
                Integrator:
                David Monllaó
                Tester:
                cameron1729
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jan/16