Skip to content

Fix erp5 slow queries logs

Jérome Perrin requested to merge fix/erp5-slow-queries-logs into master

ERP5 software release has some support for mariadb slow queries:

  • run pt-query-digest daily
  • check that the number of slow queries and the slowest slow query do not exceed some thresholds defined as instance parameters

but this had issues:

This uses new techniques in software release testing from https://lab.nexedi.com/nexedi/slapos.core/merge_requests/245, we use faketime to simulate running crontabs and promises at a specific time in the future, so that we can assert the exact expected behaviour of crontab scripts.

Edited by Jérome Perrin

Merge request reports