diff --git a/src/sentry/grouping/ingest/config.py b/src/sentry/grouping/ingest/config.py index feb9ecf74642c..32ea544865161 100644 --- a/src/sentry/grouping/ingest/config.py +++ b/src/sentry/grouping/ingest/config.py @@ -96,4 +96,4 @@ def project_uses_optimized_grouping(project: Project) -> bool: return features.has( "organizations:grouping-suppress-unnecessary-secondary-hash", project.organization, - ) or (is_in_transition(project) and project.id % 2 == 0) + ) or (is_in_transition(project)) diff --git a/tests/sentry/event_manager/grouping/test_assign_to_group.py b/tests/sentry/event_manager/grouping/test_assign_to_group.py index eece34a03db31..8948d352f81e5 100644 --- a/tests/sentry/event_manager/grouping/test_assign_to_group.py +++ b/tests/sentry/event_manager/grouping/test_assign_to_group.py @@ -531,7 +531,7 @@ def test_uses_regular_or_optimized_grouping_as_appropriate( assert mock_save_aggregate.call_count == 1 elif flag_on: assert mock_save_aggregate_new.call_count == 1 - elif in_transition and id_even: + elif in_transition: assert mock_save_aggregate_new.call_count == 1 else: assert mock_save_aggregate.call_count == 1