Hi there, I'm trying to run a test scenario where ...
# general
l
Hi there, I'm trying to run a test scenario where a parameter is passed in an invalid format (and it should throw a 400), but it fails with the error message
with 30000 ms timeout for Pact
. I've tried to increase the timeout (quite significantly but it still fails with the same message). Is there any way to check why it times out? It seems due to a promise that doesn't resolve... Also it seems to be specifically when looking to get the provider to respond with status 400 🤔
m
Might be best asking in #C9VBGLUM9. If you could please share the code snipped of the test that fails and any terminal output/logs that would help too
My guess is that your HTTP client is throwing and the test isn’t catching it (that is, it’s not a Pact problem, it just happens to be a Pact test that is showing you the problem)
l
sure, will do!
👍 1