diff --git a/swh/journal/pytest_plugin.py b/swh/journal/pytest_plugin.py --- a/swh/journal/pytest_plugin.py +++ b/swh/journal/pytest_plugin.py @@ -182,7 +182,7 @@ 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.