Skip to content
Snippets Groups Projects
Commit 04a84dba authored by David Douard's avatar David Douard
Browse files

tests: make the kafka_server_base fixture a function scoped one

this actually speeds up tests quite a bit (preventing a 30s timeout when
the fixture is actually reused several times in a test session).
parent 2c6d9e05
No related branches found
No related tags found
No related merge requests found
......@@ -182,7 +182,7 @@ def kafka_server(
return kafka_server_base
@pytest.fixture(scope="session")
@pytest.fixture(scope="function")
def kafka_server_base() -> Iterator[str]:
"""Create a mock kafka cluster suitable for tests.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment