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

forum neighbour tests use dirty, nasty, horrible sleep

XMLWordPrintable

    • MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MDL-52597-master
    • Hide

      Run unit tests:

      ./vendor/bin/phpunit --filter test_forum_get_neighbours --stop-on-failure
      

      1. Confirm they pass
      2. Confirm that they are faster than they used to be
      Show
      Run unit tests: ./vendor/bin/phpunit --filter test_forum_get_neighbours --stop-on-failure Confirm they pass Confirm that they are faster than they used to be

      There are currently 35 x 1 second sleeps in the mod_forum tests. Let's kill them and replace them with DB updates which are faster and less fragile.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Rajesh Taneja Rajesh Taneja
            David Monllaó David Monllaó
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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