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

Random fail on nightly while running cron.

    XMLWordPrintable

Details

    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_30_STABLE
    • wip-mdl-54640
    • 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

    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

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            David Monllaó David Monllaó
            Jake Dallimore Jake Dallimore
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jul/16