Skip to content

Commit 95f9d63

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: parse cookie values containing the equal sign make some time dependent tests more resilient do not break when loading schemas from network paths on Windows
2 parents 3ac973e + a26c0aa commit 95f9d63

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Tests/Transport/Smtp/SmtpTransportTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
use Symfony\Component\Mime\Exception\InvalidArgumentException;
2323
use Symfony\Component\Mime\RawMessage;
2424

25+
/**
26+
* @group time-sensitive
27+
*/
2528
class SmtpTransportTest extends TestCase
2629
{
2730
public function testToString()
@@ -83,7 +86,7 @@ public function testSendDoesPingAboveThreshold()
8386
$this->assertNotContains("NOOP\r\n", $stream->getCommands());
8487

8588
$stream->clearCommands();
86-
sleep(1);
89+
usleep(1500000);
8790

8891
$transport->send(new RawMessage('Message 3'), $envelope);
8992
$this->assertContains("NOOP\r\n", $stream->getCommands());

0 commit comments

Comments
 (0)