public function testPhpDeadlock() {
$this
->markTestSkipped('Can course php to hang');
// Sleep doesn't work as it will allow the process to handle signals and close
// file handles from the other end.
$process = new Process('php -r "while (true) {}"');
$process
->start();
// PHP will deadlock when it tries to cleanup $process
}