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

Issue 1842673002: [test] Fix deterministic test shards. (Closed)

Created:
4 years, 8 months ago by Michael Achenbach
Modified:
4 years, 8 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[test] Fix deterministic test shards. Test case objects were sorted without key function, resulting in random sort order. On sharded builds, the shards are determined by the sort order and rely on a deterministic sorting. This led to random cctest and unittest cases being dropped or executed twice on sharded testers. TBR=jkummerow@chromium.org, hablich@chromium.org Committed: https://crrev.com/a0aac3cb1d30e8b3949df6827243a49e6d95c2ed Cr-Commit-Position: refs/heads/master@{#35151}

Patch Set 1 #

Patch Set 2 : Key function for more speed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M test/cctest/testcfg.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/testrunner/local/testsuite.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/testrunner/objects/testcase.py View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
Michael Achenbach
PTAL. This bug was in there for quite some time. Impact got worse since we ...
4 years, 8 months ago (2016-03-29 08:13:54 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1842673002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1842673002/20001
4 years, 8 months ago (2016-03-29 12:53:38 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-29 14:51:25 UTC) #7
Michael Achenbach
TBR as this fixes an annoying bug.
4 years, 8 months ago (2016-03-31 07:16:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1842673002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1842673002/20001
4 years, 8 months ago (2016-03-31 07:17:02 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-03-31 07:38:14 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/a0aac3cb1d30e8b3949df6827243a49e6d95c2ed Cr-Commit-Position: refs/heads/master@{#35151}
4 years, 8 months ago (2016-03-31 07:38:28 UTC) #16
Jakob Kummerow
4 years, 8 months ago (2016-04-05 08:12:00 UTC) #17
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698