Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-6141

moodle-docker with mariadb broken phpunit tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: Integration
    • Labels:
      None

      Description

      Reproduced both with Mac, Windows and Linux. Both with MariaDB 10.2 and 10.3 images.

      It passes ok running with moodle-ci-runner and also with real DB (not-dockered) instance. Also MySQL passes ok.

      To reproduce:

      • Setup moodle-docker to use mariadb
      • Init phpunit
      • Run phpunit (-c h5p is enough, if you use --buildcomponentconfigs

      After a point in the execution, it fails all the tests with "MySQL is gone" error.

      Narrowing the problem, I was able to reproduce it just executing -c h5p tests. I always fails @ core_h5p\helper_testcase (test_display_options or any other h5p unit test).

        Attachments

          Activity

            People

            Assignee:
            stronk7 Eloy Lafuente (stronk7)
            Reporter:
            stronk7 Eloy Lafuente (stronk7)
            Participants:
            Component watchers:
            Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: