Skip to content

Commit

Permalink
move test socks to tmp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Jan 8, 2024
1 parent bb402c1 commit 340ffb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions t/APISIX.pm
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ _EOC_
thread_pool grpc-client-nginx-module threads=1;
lua {
lua_shared_dict apisix 1m;
lua_shared_dict prometheus-metrics 15m;
}
_EOC_
Expand Down Expand Up @@ -440,7 +441,7 @@ _EOC_
$extra_stream_config
server {
listen unix:$apisix_home/t/servroot/conf/stream_worker_events.sock;
listen unix:$apisix_home/t/servroot/tmp/stream_worker_events.sock;
access_log off;
content_by_lua_block {
require("resty.events.compat").run()
Expand Down Expand Up @@ -701,7 +702,7 @@ _EOC_

$http_config .= <<_EOC_;
server {
listen unix:$apisix_home/t/servroot/conf/worker_events.sock;
listen unix:$apisix_home/t/servroot/tmp/worker_events.sock;
access_log off;
location / {
content_by_lua_block {
Expand Down

0 comments on commit 340ffb0

Please sign in to comment.