Skip to content

Commit 5bc4663

Browse files
committed
test fix
1 parent 25ccc5d commit 5bc4663

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

snuba/web/rpc/storage_routing/routing_strategies/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class Outcome:
1111

1212

1313
ITEM_TYPE_TO_OUTCOME_CATEGORY = {
14+
TraceItemType.TRACE_ITEM_TYPE_UNSPECIFIED: OutcomeCategory.SPAN_INDEXED,
1415
TraceItemType.TRACE_ITEM_TYPE_SPAN: OutcomeCategory.SPAN_INDEXED,
1516
TraceItemType.TRACE_ITEM_TYPE_LOG: OutcomeCategory.LOG_ITEM,
1617
}

tests/web/rpc/v1/routing_strategies/test_outcomes_based.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _get_request_meta(
4848

4949

5050
@pytest.fixture
51-
def store_outcomes_fixture() -> None:
51+
def store_outcomes_fixture(clickhouse_db: Any) -> None:
5252
# Generate 24 hours of outcomes data with 1M outcomes per hour
5353
outcome_data = []
5454
for hour in range(24):

0 commit comments

Comments
 (0)