When one test hangs, unrelated test will sometimes hang? #2008
Unanswered
JoshuaNitschke
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've never had this happen on any of my other rust projects. But a failed test for Rocket web api will seems to often block another test that would normally finish successfully. If I bring the failing test back to compliance, all tests reliably and always complete successfully.
I can't really share my code because it belongs to the company, but was wondering if anyone has seen this? If not, I can try to make another project to replicate but I don't really want to do that if I don't have to :D
These two tests are testing the same route, if that matters.
The test that hangs is not always consistent, nor does it always hang. I have also occasionally seen a test for a different route hang, but this is less frequent. I am worried this is a symptom of some design flaw on my part, that could be affected more than just testing. But I don't understand why I only have issues if a test fails.
I tried it with both the blocking client and async client.
Beta Was this translation helpful? Give feedback.
All reactions