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

    • MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • wip-mdl-52376
    • 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

    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

              rajeshtaneja Rajesh Taneja
              rajeshtaneja Rajesh Taneja
              Dan Poltawski Dan Poltawski
              David Monllaó David Monllaó
              cameron1729 cameron1729
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jan/16