Store test placeholders in a set rather than a vector.
Previously, test placeholders were extracted from test_locations_, a std::map, which implicitly deduplicated the keys. After creating test_placeholders_, I stored them in a vector. Unfortunately, this causes duplicate entries to occur when iterations > 1. Storing them in a set returns the previous behavior. Bug: 934996 Change-Id: I81825b1f95064ac59594b3531cfd8409c631e8f8 Reviewed-on: https://chromium-review.googlesource.com/c/1484074Reviewed-by:Lei Zhang <thestig@chromium.org> Commit-Queue: Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#634868}
Showing
Please register or sign in to comment