Skip to content

Commit a26c0aa

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: 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 e17b41e + 977af8f commit a26c0aa

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)