Allow assertions on specific cache IDs in performance tests

Created on 18 November 2023, 12 months ago
Updated 18 January 2024, 10 months ago

Problem/Motivation

In 📌 Allow assertions on the number of database queries run during tests RTBC we're having to assert greater and less than a certain number of queries instead of a single number, because the number of queries observed during tests is variable.

This could be due to different reasons, for example it might depend on which order http requests finish in (bigpipe vs. asset aggregates), affecting cache collectors, or it could be due to non-deterministic service ordering etc.

Steps to reproduce

Proposed resolution

Track down what the different queries are, and see if it's something we can or should fix.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component
PHPUnit 

Last updated about 12 hours ago

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024