Add assertions to OpenTelemetryNodePagePerformanceTest::testNodePageCoolCache()

Created on 24 September 2024, 4 months ago

Problem/Motivation

Note: this issue was initially created for a performance testing workshop at DrupalCon Barcelona.

OpenTelemetryNodePagePerformanceTest::testNodePageCoolCache() doesn't have assertions for cache gets/sets, database queries, and Javascript and CSS requests.

Steps to reproduce

Proposed resolution

Using OpenTelemetryFrontPagePerformanceTest::testFrontPageHotCache(), AssetAggregationAcrossPagesTest::testFrontAndRecipesPages(), and OpenTelemetryAuthenticatedPerformanceTest::testFrontPageAuthenticatedWarmCache() as examples, add assertions to these test methods for database queries, cache operations, and CSS/JS requests - the tests should continue to pass with the assertions that are added.

Remaining tasks

User interface changes

N/A

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

phpunit

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