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

    • 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

      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.

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            Dan Poltawski Dan Poltawski
            David Monllaó David Monllaó
            cameron1729 cameron1729
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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