This commit is contained in:
Marcel Pociot
2021-06-22 10:19:53 +02:00
parent 490365fe14
commit 71ce328eb0
2 changed files with 3 additions and 1 deletions

View File

@@ -35,6 +35,8 @@ class ApiTest extends TestCase
{ {
$this->serverFactory->getSocket()->close(); $this->serverFactory->getSocket()->close();
$this->await(\React\Promise\Timer\resolve(0.2, $this->loop));
parent::tearDown(); parent::tearDown();
} }

View File

@@ -50,7 +50,7 @@ class TunnelTest extends TestCase
$this->testTcpServer->close(); $this->testTcpServer->close();
} }
sleep(0.5); $this->await(\React\Promise\Timer\resolve(0.2, $this->loop));
parent::tearDown(); parent::tearDown();
} }