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

Random fail on nightly while running cron.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Run following behat:

      1. blocks/completionstatus/tests/behat/block_completionstatus_manual_other.feature
      2. blocks/completionstatus/tests/behat/block_completionstatus_manual_self.feature
      3. completion/tests/behat/teacher_manual_completion.feature
      Show
      Run following behat: blocks/completionstatus/tests/behat/block_completionstatus_manual_other.feature blocks/completionstatus/tests/behat/block_completionstatus_manual_self.feature completion/tests/behat/teacher_manual_completion.feature
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull Master Branch:
      wip-mdl-54640

      Description

      MDL-54130 got in last week and calling cron after marking completion status.

      cron can fail at point when the cron executes at same second as the click happened.

      Failing scenarios are:

          Then I should see "Status: Complete" in the "Course completion status" "block" # /store/moodle/behat_whole_suite_m_parallel/blocks/completionstatus/tests/behat/block_completionstatus_manual_self.feature:41
            "Status: Complete" text was not found in the "Course completion status" element (Behat\Mink\Exception\ExpectationException)
       
        Then I should see "Status: Complete" in the "Course completion status" "block" # /store/moodle/behat_whole_suite_m_parallel/blocks/completionstatus/tests/behat/block_completionstatus_manual_other.feature:47
            "Status: Complete" text was not found in the "Course completion status" element (Behat\Mink\Exception\ExpectationException)
       
          Then I should see "Status: Complete" in the "Course completion status" "block" # /store/moodle/behat_whole_suite_m_parallel/blocks/completionstatus/tests/behat/block_completionstatus_manual_other.feature:95
            "Status: Complete" text was not found in the "Course completion status" element (Behat\Mink\Exception\ExpectationException)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

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