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

Failure of unittest test_update_capabilities_install_performance

    • 8
    • WP Sprint 2025-I2.2 (Clones)

      We see consistent failure of the test test_update_capabilities_install_performance() added in this commit https://github.com/moodle/moodle/commit/fe6a51265ae3f915b02d8f79dc3752884a323124 on MsSQL and Oracle.
      If you look at the DML functions for these databases, the function insert_records() just calls insert_record() in a loop and the change makes no effect on these databases.

      I suggest to at least skip this test on oracle and mssql

      Maybe the test needs to be re-thought, it sounds very fragile and results depend on a lot of unknown factors - additional capabilities or roles added by non-standard plugins, capabilities added in the future to the mod_forum, etc.

            tasio.bertomeu@moodle.com Tasio Bertomeu
            marina Marina Glancy
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 14 minutes
                6h 14m

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