I am encountering issues while running workflow-related test cases using the Temporal TypeScript SDK, with all tests failing due to an inability to start the ephemeral server.
The error message indicates that there is an “UnexpectedError” caused by a failure to send a request to the Temporal test server URL: https://temporal.download/temporal-test-server/default?arch=amd64&platform=windows&sdk-name=sdk-typescript&sdk-version=1.11.3
As a result, the tests cannot execute successfully and fails with error:
UnexpectedError: Failed to start ephemeral server: error sending request for url (https://temporal.download/temporal-test-server/default?arch=amd64&platform=windows&sdk-name=sdk-typescript&sdk-version=1.11.3)
I am using TestWorkflowEnvironment.createTimeSkipping() which is probably trying to download the test server.
I tried to manually download and set the test_server_existing_path
to point to the extracted executable, but it didn’t worked.
I would greatly appreciate any guidance or support from the community regarding this issue. If anyone has encountered a similar problem or has insights on how to resolve the “UnexpectedError” related to starting the ephemeral server, your advice would be invaluable. Additionally, if there are alternative approaches or configurations that I should consider when using the Temporal TypeScript SDK for workflow testing, please let me know. Thank you in advance for your assistance!