diff --git a/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php b/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php
index 734c977bc558f1f973dc81372bdddf927f4d092b..50d9f99640ad363dceacd10002aff39749304e1d 100644
--- a/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php
+++ b/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php
@@ -89,7 +89,7 @@ public function testInstallWithNonSetupClass() {
 
     // Use __FILE__ to test absolute paths.
     $command_line = $php_binary_path . ' core/scripts/test-site.php install --setup-file "' . __FILE__ . '" --db-url "' . getenv('SIMPLETEST_DB') . '"';
-    $process = new Process($command_line, $this->root);
+    $process = new Process($command_line, $this->root, ['COLUMNS' => PHP_INT_MAX]);
     $process->run();
 
     $this->assertContains('The class Drupal\Tests\Scripts\TestSiteApplicationTest contained in', $process->getErrorOutput());