Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@
from sentry.services.eventstore.processing import event_processing_store
from sentry.testutils.pytest.fixtures import django_db_all
from sentry.testutils.skips import requires_kafka, requires_snuba
from sentry.testutils.thread_leaks.pytest import thread_leak_allowlist
from sentry.utils.batching_kafka_consumer import create_topics
from sentry.utils.kafka_config import get_topic_definition

pytestmark = [requires_snuba, requires_kafka]
pytestmark = [
requires_snuba,
requires_kafka,
thread_leak_allowlist(reason="ingest consumers", issue=97037),
]

logger = logging.getLogger(__name__)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from sentry.services import eventstore
from sentry.testutils.pytest.fixtures import django_db_all
from sentry.testutils.skips import requires_kafka, requires_snuba
from sentry.testutils.thread_leaks.pytest import thread_leak_allowlist
from sentry.utils.batching_kafka_consumer import create_topics
from sentry.utils.kafka_config import get_topic_definition

Expand Down Expand Up @@ -71,6 +72,7 @@ def random_group_id() -> str:

@django_db_all(transaction=True)
@pytest.mark.parametrize("no_celery_mode", [True, False])
@thread_leak_allowlist(reason="ingest consumers", issue=97037)
def test_ingest_consumer_reads_from_topic_and_saves_event(
no_celery_mode,
task_runner,
Expand Down
Loading