When using Pact server, the response message is flushed unexpectedly? #6289
Unanswered
CarmenRietdijk
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It looks like you are manually spawning threads and then try to use Tokio resources from within the custom thread. However, new threads are outside of the Tokio context by default. You may have to use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear community,
I am a test automation engineer. I am currently working on contract testing using Pact.
I am familiar with Java, and currently work in TypeScript. Rust is completely new to me, and so is Tokio.
So I hope you'll bear with me in case I ask very n00b questions.
When I try to run my test I run unto this error. From what I can tell it seems that the response message gets flushed, triggering the shutdown of the server. See the image below for more detail.
Am I correct in my analysis? And if so, what could be the cause for the flush of the response message?
Thank you for your time,
Carmen
Beta Was this translation helpful? Give feedback.
All reactions