What are you really trying to do?
I run many integration tests using TestWorkflowEnvironment.createTimeSkipping, and pings are just unnecessary overhead during testing. I'd like a way to turn keepalive pings off, or at least configure them, while testing.
Describe the bug
Right now it seems there is no option to opt-out keepalive, although jsdoc in ConnectionOptions['channelArgs'] suggests that it should be.
While running many test at once from time to time I see such warning log:
E Connection to dns:127.0.0.1:33065 at 127.0.0.1:33065 rejected by server because of excess pings. Increasing ping interval to 60000 ms
Minimal Reproduction
Tbh I don't know how to reproduce this using the hello-world example. I know it happens because of keepalive, but I'm not sure exactly what must happen to print rejected by server because of excess pings
Environment/Versions
- OS and processor: Gitlab CI (Linux), M5 Mac
- Temporal Version: @temporalio/testing v1.12.1
- Are you using Docker or Kubernetes or building Temporal from source? Docker
Additional context
What are you really trying to do?
I run many integration tests using
TestWorkflowEnvironment.createTimeSkipping, and pings are just unnecessary overhead during testing. I'd like a way to turn keepalive pings off, or at least configure them, while testing.Describe the bug
Right now it seems there is no option to opt-out keepalive, although jsdoc in
ConnectionOptions['channelArgs']suggests that it should be.While running many test at once from time to time I see such warning log:
Minimal Reproduction
Tbh I don't know how to reproduce this using the
hello-worldexample. I know it happens because of keepalive, but I'm not sure exactly what must happen to printrejected by server because of excess pingsEnvironment/Versions
Additional context