Page MenuHomePhabricator

D11404.diff
No OneTemporary

D11404.diff

diff --git a/src/daemon/torture/PhutilExcessiveServiceCallsDaemon.php b/src/daemon/torture/PhutilExcessiveServiceCallsDaemon.php
--- a/src/daemon/torture/PhutilExcessiveServiceCallsDaemon.php
+++ b/src/daemon/torture/PhutilExcessiveServiceCallsDaemon.php
@@ -5,7 +5,7 @@
*/
final class PhutilExcessiveServiceCallsDaemon extends PhutilTortureTestDaemon {
- public function run() {
+ protected function run() {
while (true) {
execx('true');
$this->stillWorking();
diff --git a/src/daemon/torture/PhutilFatalDaemon.php b/src/daemon/torture/PhutilFatalDaemon.php
--- a/src/daemon/torture/PhutilFatalDaemon.php
+++ b/src/daemon/torture/PhutilFatalDaemon.php
@@ -5,7 +5,7 @@
*/
final class PhutilFatalDaemon extends PhutilTortureTestDaemon {
- public function run() {
+ protected function run() {
exit(1);
}
diff --git a/src/daemon/torture/PhutilHangForeverDaemon.php b/src/daemon/torture/PhutilHangForeverDaemon.php
--- a/src/daemon/torture/PhutilHangForeverDaemon.php
+++ b/src/daemon/torture/PhutilHangForeverDaemon.php
@@ -5,7 +5,7 @@
*/
final class PhutilHangForeverDaemon extends PhutilTortureTestDaemon {
- public function run() {
+ protected function run() {
while (true) {
sleep(60);
}
diff --git a/src/daemon/torture/PhutilNiceDaemon.php b/src/daemon/torture/PhutilNiceDaemon.php
--- a/src/daemon/torture/PhutilNiceDaemon.php
+++ b/src/daemon/torture/PhutilNiceDaemon.php
@@ -5,7 +5,7 @@
*/
final class PhutilNiceDaemon extends PhutilTortureTestDaemon {
- public function run() {
+ protected function run() {
while (true) {
$this->log(date('r'));
$this->stillWorking();
diff --git a/src/daemon/torture/PhutilProcessGroupDaemon.php b/src/daemon/torture/PhutilProcessGroupDaemon.php
--- a/src/daemon/torture/PhutilProcessGroupDaemon.php
+++ b/src/daemon/torture/PhutilProcessGroupDaemon.php
@@ -5,7 +5,7 @@
*/
final class PhutilProcessGroupDaemon extends PhutilTortureTestDaemon {
- public function run() {
+ protected function run() {
$root = phutil_get_library_root('phutil');
$root = dirname($root);
diff --git a/src/daemon/torture/PhutilSaturateStdoutDaemon.php b/src/daemon/torture/PhutilSaturateStdoutDaemon.php
--- a/src/daemon/torture/PhutilSaturateStdoutDaemon.php
+++ b/src/daemon/torture/PhutilSaturateStdoutDaemon.php
@@ -5,7 +5,7 @@
*/
final class PhutilSaturateStdoutDaemon extends PhutilTortureTestDaemon {
- public function run() {
+ protected function run() {
for ($ii = 0; $ii < 512; $ii++) {
echo str_repeat('~', 1024 * 1024);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 29, 6:13 AM (8 h, 4 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6941687
Default Alt Text
D11404.diff (2 KB)

Event Timeline