-
Notifications
You must be signed in to change notification settings - Fork 192
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
Fix reentrancy problems with testing #556
Comments
…h real flag (#529) * Replace Tester functions with tester context managers * Ignore Test classes in pytest collection * Fix typing * Add broker.start() to Testing context manager * Add example for testing with real broker * Patch publishers so they can be checked if they were called * polish docs * polish docs * Skip reentrancy tests --------- Co-authored-by: Davor Runje <[email protected]>
We need to correct behavior attempt subscriber case: subscribers, created inside test function are not removing from global broker object and failure other tests |
We still have a tests failing this case: https://github.com/airtai/faststream/blob/main/tests/brokers/kafka/test_test_reentrancy.py#L61 and |
Copy of #1036 |
Skipped tests for reentrancy are at
tests/brokers/kafka/test_test_reentrancy.py
Should be enabled and passing when reentrancy problems are resolved
The text was updated successfully, but these errors were encountered: