10.1.x compatibility: tests are failing against Drupal 10.1.x due to upstream changes
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3347181. -->
Reported by: [wim leers](https://www.drupal.org/user/99777)
Related to !12
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<pre>Testing Drupal\Tests\cdn\Functional\CdnIntegrationTest<br>E.....F 7 / 7 (100%)<br><br>Time: 00:33.242, Memory: 4.00 MB<br><br>There was 1 error:<br><br>1) Drupal\Tests\cdn\Functional\CdnIntegrationTest::testCss<br>Behat\Mink\Exception\ExpectationException: The string "url(" was not found anywhere in the HTML response of the current page.<br><br>/var/www/html/vendor/behat/mink/src/WebAssert.php:794<br>/var/www/html/vendor/behat/mink/src/WebAssert.php:324<br>/var/www/html/core/tests/Drupal/Tests/WebAssert.php:496<br>/var/www/html/modules/contrib/cdn/tests/src/Functional/CdnIntegrationTest.php:141<br>/var/www/html/modules/contrib/cdn/tests/src/Functional/CdnIntegrationTest.php:111<br>/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728<br><br>--<br><br>There was 1 failure:<br><br>1) Drupal\Tests\cdn\Functional\CdnIntegrationTest::testFarfuture with data set "js" ('core/modules/system/js/system...les.js', ':relative:', 'core/modules/system/js/system...les.js', 'application/javascript')<br>Failed asserting that two strings are identical.<br>--- Expected<br>+++ Actual<br>@@ @@<br>-'application/javascript'<br>+'text/javascript; charset=UTF-8'<br><br>/var/www/html/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:122<br>/var/www/html/vendor/phpunit/phpunit/src/Framework/Constraint/IsIdentical.php:79<br>/var/www/html/modules/contrib/cdn/tests/src/Functional/CdnIntegrationTest.php:212<br>/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728</pre><p>The latter is caused by <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupal/issues/84883" title="Status: Closed (fixed)">#84883: Unicode::mimeHeaderEncode() doesn't correctly follow RFC 2047</a></span> — see <a href="https://www.drupal.org/node/3312139">https://www.drupal.org/node/3312139</a></p>
<p>The former is I <em>think</em> caused by <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupal/issues/1014086" title="Status: Closed (fixed)">#1014086: Stampedes and cold cache performance issues with css/js aggregation</a></span> — see <a href="https://www.drupal.org/node/2888767]">https://www.drupal.org/node/2888767]</a></p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
> Related issue: [Issue #84883](https://www.drupal.org/node/84883)
> Related issue: [Issue #1014086](https://www.drupal.org/node/1014086)
> Related issue: [Issue #3353808](https://www.drupal.org/node/3353808)
> Related issue: [Issue #3354204](https://www.drupal.org/node/3354204)
issue