Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Issue 2145693002: Reland of [Telemetry] Make discover throw exceptions when it detects duplicate keys indexed by class name (Closed)

Created:
4 years, 5 months ago by nednguyen
Modified:
4 years, 5 months ago
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org, Zhen Wang, aiolos (Not reviewing), eakuefner, dtu
Base URL:
https://github.com/catapult-project/catapult@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Reland of [Telemetry] Make discover throw exceptions when it detects duplicate keys indexed by class name (patchset #1 id:1 of https://codereview.chromium.org/2137783002/ ) Reason for revert: GPU tests are updated to avoid naming conflict in https://codereview.chromium.org/2136773002/ BUG=chromium:627204 Original issue's description: > Revert of [Telemetry] Make discover throw exceptions when it detects duplicate keys indexed by class name (patchset #2 id:20001 of https://codereview.chromium.org/2075743002/ ) > > Reason for revert: > Breaks all of the GPU tests on the Chromium waterfall: https://codereview.chromium.org/2136653002 > https://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/252404 > > Original issue's description: > > [Telemetry] Make discover throw exceptions when it detects duplicate keys indexed by class name > > > > We don't throw exceptions when there is duplicate keys indexed by > > module name because telemetry_perf_unittest currently depends on this > > naming collision to reduce the number of benchmark it smokes test (bad!) > > > > This CL also renames linux_based_platform_backend_unittest.TestBackend classes to > > linux_based_platform_backend_unittest.TestLinuxBackend to > > avoid naming collision with posix_platform_backend_unittest.TestBackend (https://github.com/catapult-project/catapult/blob/a8a6fb7ea065c2df8ae129ad05ac80ba6ae7cc3a/telemetry/telemetry/internal/platform/posix_platform_backend_unittest.py#L13) > > > > > > Change announcement: https://groups.google.com/a/chromium.org/forum/#!topic/telemetry-announce/i6FlJJDFWQA) > > > > Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/897866760cc7c37b766620f2589ad19026e775b1 > > TBR=kouhei@chromium.org,kbr@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > > Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/6cad5da3c39eca66c6dcd2db0b4cb1885fc00556 TBR=kouhei@chromium.org,kbr@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/b8c7ec593d7908df469f178bb50c1a1f587c55f5

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -8 lines) Patch
M telemetry/telemetry/core/discover.py View 3 chunks +25 lines, -1 line 0 comments Download
M telemetry/telemetry/internal/platform/linux_based_platform_backend_unittest.py View 6 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (4 generated)
nednguyen
4 years, 5 months ago (2016-07-12 18:54:07 UTC) #2
Created Reland of [Telemetry] Make discover throw exceptions when it detects
duplicate keys indexed by class name

Powered by Google App Engine
This is Rietveld 408576698