Move rr tests config back to the config/roadrunner folder

This commit is contained in:
Alejandro Celaya 2024-02-16 00:01:35 +01:00
parent 60176060cb
commit 1117631717
2 changed files with 5 additions and 5 deletions

View file

@ -18,7 +18,7 @@ touch $OUTPUT_LOGS
echo 'Starting server...'
[ "$TEST_RUNTIME" = 'openswoole' ] && vendor/bin/laminas mezzio:swoole:start -d
[ "$TEST_RUNTIME" = 'rr' ] && bin/rr serve -p -c=.rr.test.yml \
[ "$TEST_RUNTIME" = 'rr' ] && bin/rr serve -p -c=config/roadrunner/.rr.test.yml -w . \
-o=logs.output="${PWD}/${OUTPUT_LOGS}" \
-o=logs.channels.http.output="${PWD}/${OUTPUT_LOGS}" \
-o=logs.channels.server.output="${PWD}/${OUTPUT_LOGS}" &

View file

@ -1,9 +1,9 @@
version: '3'
###############################################################################################
# It's important to keep this file in the project root, otherwise code coverage does not work #
# See https://github.com/orgs/roadrunner-server/discussions/1440#discussioncomment-8486186 #
###############################################################################################
############################################################################################
# Routes here need to be relative to the project root, as API tests are run with `-w .` #
# See https://github.com/orgs/roadrunner-server/discussions/1440#discussioncomment-8486186 #
############################################################################################
rpc:
listen: tcp://127.0.0.1:6001