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

Fix reentrancy problems with testing #556

Closed
sternakt opened this issue Sep 6, 2023 · 3 comments
Closed

Fix reentrancy problems with testing #556

sternakt opened this issue Sep 6, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@sternakt
Copy link
Collaborator

sternakt commented Sep 6, 2023

Skipped tests for reentrancy are at tests/brokers/kafka/test_test_reentrancy.py
Should be enabled and passing when reentrancy problems are resolved

@sternakt sternakt self-assigned this Sep 6, 2023
sternakt referenced this issue Sep 6, 2023
…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]>
@Lancetnik Lancetnik added the bug Something isn't working label Sep 7, 2023
@Lancetnik
Copy link
Member

We need to correct behavior attempt subscriber case: subscribers, created inside test function are not removing from global broker object and failure other tests

@Lancetnik Lancetnik moved this to Todo in FastStream Sep 7, 2023
@sternakt sternakt moved this from Todo to Backlog in FastStream Sep 11, 2023
@github-project-automation github-project-automation bot moved this from Backlog to Done in FastStream Sep 25, 2023
@Lancetnik
Copy link
Member

@Lancetnik Lancetnik reopened this Sep 25, 2023
@Lancetnik Lancetnik moved this from Done to Todo in FastStream Sep 25, 2023
@davorrunje davorrunje moved this from Todo to Backlog in FastStream Oct 9, 2023
@Lancetnik
Copy link
Member

Copy of #1036

@github-project-automation github-project-automation bot moved this from Backlog to Done in FastStream Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants