diff --git a/core/modules/navigation/tests/src/FunctionalJavascript/PerformanceTest.php b/core/modules/navigation/tests/src/FunctionalJavascript/PerformanceTest.php index 676eaf755e51d42513bdfba54892ba6d9af548ff..7a4d2b68b40b9c5451c4c81c689e5807d7eae6bd 100644 --- a/core/modules/navigation/tests/src/FunctionalJavascript/PerformanceTest.php +++ b/core/modules/navigation/tests/src/FunctionalJavascript/PerformanceTest.php @@ -73,14 +73,14 @@ public function testLogin(): void { $expected = [ 'QueryCount' => 4, - 'CacheGetCount' => 61, + 'CacheGetCount' => 60, 'CacheSetCount' => 2, 'CacheDeleteCount' => 0, 'CacheTagChecksumCount' => 2, 'CacheTagIsValidCount' => 29, 'CacheTagInvalidationCount' => 0, 'ScriptCount' => 2, - 'ScriptBytes' => 220000, + 'ScriptBytes' => 215500, 'StylesheetCount' => 1, 'StylesheetBytes' => 90200, ]; diff --git a/core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryAuthenticatedPerformanceTest.php b/core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryAuthenticatedPerformanceTest.php index a455cb1544d7a3c768b2092742d1571cfd0d8500..df52db42bfaf2bc7ad262f0ffb7b29fd6145bab4 100644 --- a/core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryAuthenticatedPerformanceTest.php +++ b/core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryAuthenticatedPerformanceTest.php @@ -48,7 +48,7 @@ public function testFrontPageAuthenticatedWarmCache(): void { $expected = [ 'QueryCount' => 4, - 'CacheGetCount' => 42, + 'CacheGetCount' => 40, 'CacheSetCount' => 0, 'CacheDeleteCount' => 0, 'CacheTagChecksumCount' => 0, diff --git a/core/profiles/standard/tests/src/FunctionalJavascript/StandardPerformanceTest.php b/core/profiles/standard/tests/src/FunctionalJavascript/StandardPerformanceTest.php index 3dcb3107fbeafcd87e2c7490c4bf58026c3f065f..c425f516695e6eec7e216507bbba6c706bea0c25 100644 --- a/core/profiles/standard/tests/src/FunctionalJavascript/StandardPerformanceTest.php +++ b/core/profiles/standard/tests/src/FunctionalJavascript/StandardPerformanceTest.php @@ -127,7 +127,7 @@ protected function testAnonymous(): void { $this->assertSame($expected_queries, $recorded_queries); $expected = [ 'QueryCount' => 36, - 'CacheGetCount' => 123, + 'CacheGetCount' => 122, 'CacheSetCount' => 45, 'CacheDeleteCount' => 0, 'CacheTagChecksumCount' => 37, @@ -162,7 +162,7 @@ protected function testAnonymous(): void { $this->assertCountBetween(39, 40, $performance_data->getCacheTagIsValidCount()); $expected = [ 'QueryCount' => 10, - 'CacheGetCount' => 93, + 'CacheGetCount' => 92, 'CacheSetCount' => 16, 'CacheDeleteCount' => 0, 'CacheTagInvalidationCount' => 0, @@ -198,7 +198,7 @@ protected function testAnonymous(): void { $this->assertSame($expected_queries, $recorded_queries); $expected = [ 'QueryCount' => 14, - 'CacheGetCount' => 78, + 'CacheGetCount' => 77, 'CacheSetCount' => 17, 'CacheDeleteCount' => 0, 'CacheTagChecksumCount' => 23, @@ -254,7 +254,7 @@ protected function testLogin(): void { $this->assertSame($expected_queries, $recorded_queries); $expected = [ 'QueryCount' => 17, - 'CacheGetCount' => 84, + 'CacheGetCount' => 82, 'CacheSetCount' => 1, 'CacheDeleteCount' => 1, 'CacheTagChecksumCount' => 1, @@ -311,7 +311,7 @@ protected function testLoginBlock(): void { $this->assertSame($expected_queries, $recorded_queries); $expected = [ 'QueryCount' => 18, - 'CacheGetCount' => 105, + 'CacheGetCount' => 103, 'CacheSetCount' => 1, 'CacheDeleteCount' => 1, 'CacheTagChecksumCount' => 1, diff --git a/core/tests/Drupal/FunctionalJavascriptTests/PerformanceTestBase.php b/core/tests/Drupal/FunctionalJavascriptTests/PerformanceTestBase.php index e08e1c27b1d201ea70f7a34c586f42b3c258e241..d624e03c00d9509f370d2ef60be68a56931b0e27 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/PerformanceTestBase.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/PerformanceTestBase.php @@ -27,6 +27,7 @@ class PerformanceTestBase extends WebDriverTestBase { protected function setUp(): void { parent::setUp(); $this->doSetUpTasks(); + \Drupal::service('module_installer')->uninstall(['automated_cron']); } /**