From a584a8f6b178f731c76480e2b411ec6de472865e Mon Sep 17 00:00:00 2001 From: catch <6915-catch@users.noreply.drupalcode.org> Date: Thu, 16 Jan 2025 18:12:13 +0000 Subject: [PATCH] Issue #3500293 by nicxvan, dww, catch: Add headroom to the navigation performance test (cherry picked from commit 928a5cbd476d536530ba427e09b7589beb2812cd) --- .../tests/src/FunctionalJavascript/PerformanceTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/navigation/tests/src/FunctionalJavascript/PerformanceTest.php b/core/modules/navigation/tests/src/FunctionalJavascript/PerformanceTest.php index 53173cb0868..3b7500ae207 100644 --- a/core/modules/navigation/tests/src/FunctionalJavascript/PerformanceTest.php +++ b/core/modules/navigation/tests/src/FunctionalJavascript/PerformanceTest.php @@ -80,7 +80,7 @@ class PerformanceTest extends PerformanceTestBase { $this->assertSame(0, $performance_data->getCacheTagInvalidationCount()); $this->assertSame(1, $performance_data->getStyleSheetCount()); $this->assertSame(2, $performance_data->getScriptCount()); - $this->assertLessThan(90000, $performance_data->getStylesheetBytes()); + $this->assertLessThan(90200, $performance_data->getStylesheetBytes()); $this->assertLessThan(220000, $performance_data->getScriptBytes()); // Check that the navigation toolbar is cached without any high-cardinality