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

Random sequence used in testing infrastructure should be optional

    XMLWordPrintable

Details

    Description

      After random sequence was introduced by MDL-46193, it was observed that the mysql and mariadb is taking double the time to finish unit test. It will be nice to consider following to get best out of testing infrastructure (Suggested by Eloy and Andrew)

      1) Set the random-sequences @ install (hacking database generators).
      2) Ensure they are stored @ structures.ser and used in sequence reset.
      3) Make 1) optional - (via phpunit.xml)
      4) Record all the tables with write operations
      5) Operate the reset (data and sequences) only against them
      6) Kill the imperfect "empties" hack.

      Attachments

        Issue Links

          Activity

            People

              rajeshtaneja Rajesh Taneja
              rajeshtaneja Rajesh Taneja
              David Monllaó David Monllaó
              Andrew Lyons Andrew Lyons
              Jun Pataleta Jun Pataleta
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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