We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f38fde2 commit 977af8fCopy full SHA for 977af8f
Tests/Transport/Smtp/SmtpTransportTest.php
@@ -22,6 +22,9 @@
22
use Symfony\Component\Mime\Exception\InvalidArgumentException;
23
use Symfony\Component\Mime\RawMessage;
24
25
+/**
26
+ * @group time-sensitive
27
+ */
28
class SmtpTransportTest extends TestCase
29
{
30
public function testToString()
@@ -83,7 +86,7 @@ public function testSendDoesPingAboveThreshold()
83
86
$this->assertNotContains("NOOP\r\n", $stream->getCommands());
84
87
85
88
$stream->clearCommands();
- sleep(1);
89
+ usleep(1500000);
90
91
$transport->send(new RawMessage('Message 3'), $envelope);
92
$this->assertContains("NOOP\r\n", $stream->getCommands());
0 commit comments