Skip to content

Commit 4f46e62

Browse files
committed
Fix php tests --filter=[unit]
1 parent b566d20 commit 4f46e62

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/swoole_server/force_reload.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ Assert::eq($atomic->get(), WORKER_NUM * 2);
6060
?>
6161
--EXPECTF--
6262
[%s] INFO Server is reloading all workers now
63-
[%s] WARNING Manager::kill_timeout_process() (ERRNO 9101): worker(pid=%d, id=%d) exit timeout, force kill the process
64-
[%s] WARNING Manager::kill_timeout_process() (ERRNO 9101): worker(pid=%d, id=%d) exit timeout, force kill the process
65-
[%s] WARNING Manager::kill_timeout_process() (ERRNO 9101): worker(pid=%d, id=%d) exit timeout, force kill the process
66-
[%s] WARNING Manager::kill_timeout_process() (ERRNO 9101): worker(pid=%d, id=%d) exit timeout, force kill the process
63+
[%s] WARNING ReloadTask::kill_all(): force kill worker process(pid=%d, id=%d)
64+
[%s] WARNING ReloadTask::kill_all(): force kill worker process(pid=%d, id=%d)
65+
[%s] WARNING ReloadTask::kill_all(): force kill worker process(pid=%d, id=%d)
66+
[%s] WARNING ReloadTask::kill_all(): force kill worker process(pid=%d, id=%d)
6767
[%s] WARNING Worker::report_error(): worker(pid=%d, id=%d) abnormal exit, status=0, signal=9
6868
[%s] WARNING Worker::report_error(): worker(pid=%d, id=%d) abnormal exit, status=0, signal=9
6969
[%s] WARNING Worker::report_error(): worker(pid=%d, id=%d) abnormal exit, status=0, signal=9

tests/swoole_server/force_reload2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ $pm->run();
6161
[%s] INFO Server is reloading all workers now
6262
%d [%d] stop
6363
%d [%d] start
64-
[%s] WARNING Manager::kill_timeout_process() (ERRNO 9101): worker(pid=%d, id=0) exit timeout, force kill the process
64+
[%s] WARNING ReloadTask::kill_all(): force kill worker process(pid=%d, id=%d)
6565
[%s] WARNING Worker::report_error(): worker(pid=%d, id=0) abnormal exit, status=0, signal=9
6666
%d [%d] start
6767
%d [%d] stop

0 commit comments

Comments
 (0)