-
Notifications
You must be signed in to change notification settings - Fork 59
Description
What are you really trying to do?
I'm trying to call startRoadRunner(), with 'rr serve -c tests/.rr.test.yaml' parameter. The temporal server is already running. It is defined in a docker-compose.yml, and started by the time.
Describe the bug
The startRoadRunner checks if the temporal server is running. But since the startTemporalServer()
or the startTemporalTestServer() is not called, both member variables are null. Therefore the check at the beginning of the startTemporalTestServer() terminates.
[ERROR] Temporal server is not running. Please start it before starting RoadRunner.
I do not need the startTemporalServer(), nor the startTemporalTestServer() because when I spin up the docker containers it starts the temporal server.
I think it's incorrect to assume that the temporal server is started using the Environment class. Right now I'm on AARM64 Mac, I was trying to use the test server - which downloads the binary - but after many unssuccessful trial, I stumbled upon the suggestion to use the docker image.
Minimal Reproduction
temporal-test-server:
container_name: temporal-test-server
image: temporalio/temporal:latest
command: server start-dev --ip 0.0.0.0 --namespace test
ports:
- 8233:8233
expose:
- 7233
- 8233
networks:
- temporal-networkWhen running the tests, in the bootstrap.php start the Roadrunner.
Environment/Versions
- OS, Temporal version are irrelevant in this matter I think. Important is to have this in the dev environment:
Additional context
Previously, using v2.16 SDK, this did not occur. With the upgrade to v2.17 this issue came.