-
Notifications
You must be signed in to change notification settings - Fork 7
All hooks always time out? #32
Comments
Strange behaviour ... what python version are you using? And also dredd version please. |
I'm using Python 3.6 with Dredd 3.2.0, with dredd_hooks 0.1.2 |
Thanks a lot. We are not currently testing against Python 3.6 so that might be the problem, let me investigate. |
@TotempaaltJ Tests seem to pass for Python 3.6. Could you provide more info? How does your API description look like? Could you share at least an anonymized example of it (which hangs as well)? |
The tests don't work on my machine either! This is getting more interesting... The "Message exchange for event afterAll", "Message exchange for event beforeAll", and "Message exchange for event afterEach" scenarios fail with a similar output:
|
@tried to reproduce the original failing Dredd config, but couldn't. Tests aren't failing consistently either, tried again and only afterEach failed. Then tried again, and then it was all three again. Edit: getting failures again, will report back. |
I'll continue trying different variations to see if I can find the real problem. It does seem like errors aren't actually printed to |
My code was throwing an exception which wasn't being properly bubbled up. #34 fixes this 💃 |
Prints
info: Hooks handler stdout: this will time out
, sits for a while, and then claims that "Hook handling timed out."Any idea what might be happening here?
The text was updated successfully, but these errors were encountered: