-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
schemathesis and fastapi with elasticsearch #2120
Comments
Hi @navik86 Could you please share some specific reproduction sample? |
The traceback is helpful but does not give me a way to reproduce the issue |
I can't share this project. |
Then I can't do anything without a way to reproduce the issue, as it is not specific nor actionable from the given description. I don't know how you set up your tests and don't have the time to do the guesswork as there could be tons of conditions that may lead to the behavior you observe. However, it is not necessary to share the project per se, you may try to build a minimal case that uses similar dependencies, but not necessarily the same code as you have in your project. Another alternative is to share the repro sample in private if it works for you (e.g. in Discord) There are also specific bug report templates that you did not use for some reason. It contains specific questions so I don't have to ask them all manually in separate comments, so both of us can save time. |
Hi. Someone tested the compatibility of this:
schemathesis==3.26.0
fastapi==0.104.1
elasticsearch[async]<=8.0.0
Problem: Strange behavior with opening/closing the loop.
For a moment, the connection to the elastic is in the closed loop and test failed.
For example:
id elastic.transport.loop - 46912948386512 <_Unix SelectorEventLoop started=False closed=True debugging=False>
id get_event_loop - 46912936546320 <_Unix SelectorEventLoop started=True closed=False debugging=False>
It should be the same thing.
The text was updated successfully, but these errors were encountered: