
Feature flags in instrumentation tests only change when Chrome is restarted. To allow to run tests in Batches that have methods with @Features annotation, split tests into groups based on enabled/disabled Features by adding a Batch.SplitByFeature annotation. Bug: 1170735 Change-Id: Id90d704bcd949eb8630172ed1051cb3fdfc5435f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2645136 Reviewed-by: Yaron Friedman <yfriedman@chromium.org> Reviewed-by: Michael Thiessen <mthiesse@chromium.org> Reviewed-by: benjamin joyce <bjoyce@chromium.org> Reviewed-by: Rohit Agarwal <roagarwal@chromium.org> Commit-Queue: Christian Dullweber <dullweber@chromium.org> Cr-Commit-Position: refs/heads/master@{#848181}