We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to test executing my Temporal workflows with the @temporalio/testing package.
@temporalio/testing
Whenever I try to execute a workflow with the testing library (TestWorkflowEnvironment), I see a gRPC error saying that the connection was refused.
TestWorkflowEnvironment
I believe this issue surfaced today, as my tests were working up until yesterday, and no changes were made on my end.
You can reproduce the issue with this repo's example tests in activities-examples/src/mocha.
activities-examples/src/mocha
Steps:
cd activities-examples
npm install
npm test
Tests error with gRPC Connection Refused
$ git clone https://github.com/temporalio/samples-typescript $ cd samples-typescript/activities-examples $ npm install $ npm test > [email protected] test > mocha --require ts-node/register --require source-map-support/register src/mocha/*.test.ts example workflow 2024-04-29T21:38:36.476892Z WARN temporal_client::retry: gRPC call poll_activity_task_queue retried 6 times error=Status { code: Unavailable, message: "error trying to connect: tcp connect error: Connection refused (os error 61)", source: Some(tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) } 2024-04-29T21:38:36.759551Z WARN temporal_client::retry: gRPC call poll_activity_task_queue retried 6 times error=Status { code: Unavailable, message: "error trying to connect: tcp connect error: Connection refused (os error 61)", source: Some(tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))) } ... 0 passing (59s) 4 failing
$ node --version v18.18.2 $ npm --version 9.8.1 $ npm list @temporalio/client [email protected] /Users/markan/samples-typescript/activities-examples ├── @temporalio/[email protected] ├─┬ @temporalio/[email protected] │ └── @temporalio/[email protected] deduped └─┬ @temporalio/[email protected] └── @temporalio/[email protected] deduped
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What are you really trying to do?
I am trying to test executing my Temporal workflows with the
@temporalio/testing
package.Describe the bug
Whenever I try to execute a workflow with the testing library (
TestWorkflowEnvironment
), I see a gRPC error saying that the connection was refused.I believe this issue surfaced today, as my tests were working up until yesterday, and no changes were made on my end.
Minimal Reproduction
You can reproduce the issue with this repo's example tests in
activities-examples/src/mocha
.Steps:
cd activities-examples
npm install
npm test
Tests error with gRPC Connection Refused
Environment/Versions
Additional context
The text was updated successfully, but these errors were encountered: