Skip to content

Commit c47b7a3

Browse files
committed
minor #15993 [ci] Display fastest results first when running tests in parallel (nicolas-grekas)
This PR was merged into the 2.3 branch. Discussion ---------- [ci] Display fastest results first when running tests in parallel | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Keeping order prevents seeing failures early as they happen. I propose to display tests results asap instead. Best viewed with: https://github.com/symfony/symfony/pull/15993/files?w=1 Commits ------- 3d6c864 [ci] Display fastest results first when running tests in parallel
2 parents ef938da + 85bafc5 commit c47b7a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/Iterator/RecursiveDirectoryIteratorTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class RecursiveDirectoryIteratorTest extends IteratorTestCase
2121
public function testRewindOnFtp()
2222
{
2323
try {
24-
$i = new RecursiveDirectoryIterator('ftp://ftp.mozilla.org/', \RecursiveDirectoryIterator::SKIP_DOTS);
24+
$i = new RecursiveDirectoryIterator('ftp://speedtest.tele2.net/', \RecursiveDirectoryIterator::SKIP_DOTS);
2525
} catch (\UnexpectedValueException $e) {
2626
$this->markTestSkipped('Unsupported stream "ftp".');
2727
}
@@ -37,14 +37,14 @@ public function testRewindOnFtp()
3737
public function testSeekOnFtp()
3838
{
3939
try {
40-
$i = new RecursiveDirectoryIterator('ftp://ftp.mozilla.org/', \RecursiveDirectoryIterator::SKIP_DOTS);
40+
$i = new RecursiveDirectoryIterator('ftp://speedtest.tele2.net/', \RecursiveDirectoryIterator::SKIP_DOTS);
4141
} catch (\UnexpectedValueException $e) {
4242
$this->markTestSkipped('Unsupported stream "ftp".');
4343
}
4444

4545
$contains = array(
46-
'ftp://ftp.mozilla.org'.DIRECTORY_SEPARATOR.'README',
47-
'ftp://ftp.mozilla.org'.DIRECTORY_SEPARATOR.'pub',
46+
'ftp://speedtest.tele2.net'.DIRECTORY_SEPARATOR.'1000GB.zip',
47+
'ftp://speedtest.tele2.net'.DIRECTORY_SEPARATOR.'100GB.zip',
4848
);
4949
$actual = array();
5050

0 commit comments

Comments
 (0)