Skip to content

Commit

Permalink
test: requires_kafka if snuba subscriptions are created
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnagara committed May 7, 2024
1 parent 80ed536 commit 1c89671
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/sentry/incidents/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
from sentry.snuba.subscriptions import create_snuba_query, create_snuba_subscription
from sentry.testutils.cases import TestCase
from sentry.testutils.helpers.datetime import freeze_time
from sentry.testutils.skips import requires_snuba
from sentry.testutils.skips import requires_kafka, requires_snuba
from sentry.utils.http import absolute_uri

pytestmark = [pytest.mark.sentry_metrics, requires_snuba]
pytestmark = [pytest.mark.sentry_metrics, requires_snuba, requires_kafka]


class BaseIncidentActivityTest(TestCase):
Expand Down
4 changes: 2 additions & 2 deletions tests/sentry/snuba/test_query_subscription_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
from sentry.snuba.query_subscriptions.run import QuerySubscriptionStrategyFactory
from sentry.snuba.subscriptions import create_snuba_query, create_snuba_subscription
from sentry.testutils.cases import TestCase
from sentry.testutils.skips import requires_snuba
from sentry.testutils.skips import requires_kafka, requires_snuba
from sentry.utils import json

pytestmark = [requires_snuba]
pytestmark = [requires_snuba, requires_kafka]


@pytest.mark.snuba_ci
Expand Down
4 changes: 2 additions & 2 deletions tests/sentry/snuba/test_subscriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
update_snuba_subscription,
)
from sentry.testutils.cases import TestCase
from sentry.testutils.skips import requires_snuba
from sentry.testutils.skips import requires_kafka, requires_snuba

pytestmark = [pytest.mark.sentry_metrics, requires_snuba]
pytestmark = [pytest.mark.sentry_metrics, requires_snuba, requires_kafka]


@pytest.mark.snuba_ci
Expand Down

0 comments on commit 1c89671

Please sign in to comment.