Skip to content
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

Open
navik86 opened this issue Apr 5, 2024 · 4 comments
Open

schemathesis and fastapi with elasticsearch #2120

navik86 opened this issue Apr 5, 2024 · 4 comments
Assignees
Labels
Status: Needs Triage Requires initial assessment to categorize and prioritize Type: Bug Errors or unexpected behavior

Comments

@navik86
Copy link

navik86 commented Apr 5, 2024

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.

@navik86 navik86 added Status: Needs Triage Requires initial assessment to categorize and prioritize Type: Bug Errors or unexpected behavior labels Apr 5, 2024
@Stranger6667
Copy link
Member

Hi @navik86

Could you please share some specific reproduction sample?

@Stranger6667
Copy link
Member

The traceback is helpful but does not give me a way to reproduce the issue

@navik86
Copy link
Author

navik86 commented Apr 5, 2024

I can't share this project.

@Stranger6667
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Requires initial assessment to categorize and prioritize Type: Bug Errors or unexpected behavior
Projects
None yet
Development

No branches or pull requests

2 participants