Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

测试禁用 Opcache,避免奇怪的失败问题 #599

Merged
merged 3 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ jobs:
php-version: ${{ matrix.php }}
tools: pecl
extensions: >
apcu, bcmath, curl, openssl, mbstring, intl, json, redis, mysqli, pdo, pdo_mysql, sockets, zip,
apcu, bcmath, curl, openssl, mbstring, intl, json, redis, mysqli, pdo, pdo_mysql, sockets, zip, :opcache,
swoole-swoole/swoole-src@${{ matrix.swoole }}
env:
SWOOLE_CONFIGURE_OPTS: >
Expand Down Expand Up @@ -406,7 +406,7 @@ jobs:
roadrunner: [2.7.*]
extensions:
[
"apcu, bcmath, curl, openssl, mbstring, intl, json, redis, mysqli, pdo, pdo_mysql, sockets",
"apcu, bcmath, curl, openssl, mbstring, intl, json, redis, mysqli, pdo, pdo_mysql, sockets, :opcache",
]
env:
IMI_ROADRUNNER_BINARY: ${{ github.workspace }}\rr.exe
Expand Down
2 changes: 1 addition & 1 deletion src/Components/fpm/tests/HttpServer/bin/stop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ __DIR__=$(cd `dirname $0`; pwd)
pidFile="$__DIR__/server.pid"

if [ -f $pidFile ];then
kill $(cat $pidFile)
kill -15 $(cat $pidFile)
fi
2 changes: 1 addition & 1 deletion src/Components/workerman-gateway/tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function checkPort13002(): bool
$keyword = 'imi:master';
}
ttyExec(<<<CMD
kill `ps -ef|grep "{$keyword}"|grep -v grep|awk '{print $2}'`
kill -15 `ps -ef|grep "{$keyword}"|grep -v grep|awk '{print $2}'`
CMD);
echo 'WorkermanServers stoped!', \PHP_EOL, \PHP_EOL;
});
Expand Down
Loading