Page MenuHomePhabricator

D16624.id40023.diff
No OneTemporary

D16624.id40023.diff

diff --git a/src/future/exec/__tests__/ExecFutureTestCase.php b/src/future/exec/__tests__/ExecFutureTestCase.php
--- a/src/future/exec/__tests__/ExecFutureTestCase.php
+++ b/src/future/exec/__tests__/ExecFutureTestCase.php
@@ -89,18 +89,6 @@
}
}
- public function testNoHangOnExecFutureDestructionWithRunningChild() {
- $start = microtime(true);
- $future = new ExecFuture('sleep 30');
- $future->start();
- unset($future);
- $end = microtime(true);
-
- // If ExecFuture::__destruct() hangs until the child closes, we won't make
- // it here in time.
- $this->assertTrue(($end - $start) < 5);
- }
-
public function testMultipleResolves() {
// It should be safe to call resolve(), resolvex(), resolveKill(), etc.,
// as many times as you want on the same process.

File Metadata

Mime Type
text/plain
Expires
Sun, May 12, 7:26 PM (3 w, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6291694
Default Alt Text
D16624.id40023.diff (819 B)

Event Timeline