File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/appengine/handlers/cron Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1919import six
2020
2121from clusterfuzz ._internal .base import errors
22+ from clusterfuzz ._internal .config import local_config
2223from clusterfuzz ._internal .crash_analysis .crash_comparer import CrashComparer
2324from clusterfuzz ._internal .datastore import data_handler
2425from clusterfuzz ._internal .datastore import data_types
@@ -127,6 +128,11 @@ def matches_top_crash(testcase, top_crashes_by_project_and_platform):
127128
128129def _group_testcases_based_on_variants (testcase_map ):
129130 """Group testcases that are associated based on variant analysis."""
131+ # Skip this if the project is configured so (like Google3).
132+ enable = local_config .ProjectConfig ().get ('deduplication.variant' , True )
133+ if not enable :
134+ return
135+
130136 logs .log ('Grouping based on variant analysis.' )
131137 grouping_candidates = collections .defaultdict (list )
132138 project_num_testcases = collections .defaultdict (int )
You can’t perform that action at this time.
0 commit comments