fwrite(): send of 54 bytes failed with errno=10054 An existing connection was forcibly closed by the remote host.
Using this with PHPUnit 8. My tests are all working, but I get this error after all tests are complete:
fwrite(): send of 54 bytes failed with errno=10054 An existing connection was forcibly closed by the remote host.
C:\inetpub\Intranet_Local\library\bootstrap.php:325 C:\inetpub\Intranet_Local\vendor\textalk\websocket\lib\Base.php:284 C:\inetpub\Intranet_Local\vendor\textalk\websocket\lib\Base.php:148 C:\inetpub\Intranet_Local\vendor\textalk\websocket\lib\Base.php:90 C:\inetpub\Intranet_Local\vendor\dmore\chrome-mink-driver\src\DevToolsConnection.php:71 C:\inetpub\Intranet_Local\vendor\dmore\chrome-mink-driver\src\ChromeDriver.php:1107 C:\inetpub\Intranet_Local\vendor\dmore\chrome-mink-driver\src\ChromeDriver.php:159 C:\inetpub\Intranet_Local\vendor\dmore\chrome-mink-driver\src\ChromeDriver.php:120 C:\inetpub\Intranet_Local\vendor\behat\mink\src\Session.php:78 C:\inetpub\Intranet_Local\vendor\behat\mink\src\Mink.php:179 C:\inetpub\Intranet_Local\vendor\behat\mink\src\Mink.php:46
Failure is on \Behat\Mink\Mink::__destruct.
If I manually call \Behat\Mink\Mink::stopSessions as part of my shutdown (register_shutdown_function), then I do not get this error.