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

              Assignee:
              rajeshtaneja Rajesh Taneja
              Reporter:
              rajeshtaneja Rajesh Taneja
              Peer reviewer:
              David Monllaó
              Integrator:
              Andrew Nicols
              Tester:
              Jun Pataleta
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/May/16