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

Issue 1089383002: [Password manager tests automation] Refactor test_runner. (Closed)

Created:
5 years, 8 months ago by melandory
Modified:
5 years, 8 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@base
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Password manager tests automation] Refactor test_runner. Refactoring consists of following steps: * test-case is runned for all websites, then another one for all websites. * module |test| is now executing by importing and running its function instead of running it as python script. * platform independent timeout mechanism. * parallel run using threads and threadpool alike solution to distribute jobs between them. BUG=369521 R=vabr@chromium.org Committed: https://crrev.com/a12e1e10c4a910a4f8aa20e3ea8b611846f19ed9 Cr-Commit-Position: refs/heads/master@{#326495}

Patch Set 1 #

Patch Set 2 : #

Total comments: 30

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -186 lines) Patch
M components/test/data/password_manager/automated_tests/environment.py View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M components/test/data/password_manager/automated_tests/run_tests.py View 1 2 3 4 4 chunks +102 lines, -173 lines 0 comments Download
M components/test/data/password_manager/automated_tests/tests.py View 1 2 3 4 4 chunks +16 lines, -12 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
melandory
Hi Vaclav, review this CL, please. I've changed a logging format. Now final message will ...
5 years, 8 months ago (2015-04-16 08:48:01 UTC) #1
vabr (Chromium)
Thanks for this great improvement. I left some comments and questions, please have a look. ...
5 years, 8 months ago (2015-04-16 10:48:16 UTC) #2
melandory
https://codereview.chromium.org/1089383002/diff/20001/components/test/data/password_manager/automated_tests/run_tests.py File components/test/data/password_manager/automated_tests/run_tests.py (right): https://codereview.chromium.org/1089383002/diff/20001/components/test/data/password_manager/automated_tests/run_tests.py#newcode82 components/test/data/password_manager/automated_tests/run_tests.py:82: def ProcessRun(config, results): On 2015/04/16 10:48:15, vabr (Chromium) wrote: ...
5 years, 8 months ago (2015-04-16 14:38:29 UTC) #3
vabr (Chromium)
Thank you, Tanja! This LGTM, with one nit and one more comment. Cheers, Vaclav https://codereview.chromium.org/1089383002/diff/20001/components/test/data/password_manager/automated_tests/tests.py ...
5 years, 8 months ago (2015-04-16 14:55:43 UTC) #4
melandory
https://codereview.chromium.org/1089383002/diff/40001/components/test/data/password_manager/automated_tests/run_tests.py File components/test/data/password_manager/automated_tests/run_tests.py (right): https://codereview.chromium.org/1089383002/diff/40001/components/test/data/password_manager/automated_tests/run_tests.py#newcode101 components/test/data/password_manager/automated_tests/run_tests.py:101: sorted([name for name in failed_tests])) On 2015/04/16 14:55:43, vabr ...
5 years, 8 months ago (2015-04-17 08:11:30 UTC) #5
vabr (Chromium)
LGTM! Cheers, Vaclav https://codereview.chromium.org/1089383002/diff/40001/components/test/data/password_manager/automated_tests/tests.py File components/test/data/password_manager/automated_tests/tests.py (right): https://codereview.chromium.org/1089383002/diff/40001/components/test/data/password_manager/automated_tests/tests.py#newcode545 components/test/data/password_manager/automated_tests/tests.py:545: return environment.tests_results On 2015/04/17 08:11:30, melandory ...
5 years, 8 months ago (2015-04-17 08:23:27 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1089383002/60001
5 years, 8 months ago (2015-04-22 13:57:34 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/17265) mac_chromium_rel_ng on ...
5 years, 8 months ago (2015-04-22 14:03:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1089383002/80001
5 years, 8 months ago (2015-04-23 10:34:31 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 8 months ago (2015-04-23 11:32:25 UTC) #14
commit-bot: I haz the power
5 years, 8 months ago (2015-04-23 11:33:56 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a12e1e10c4a910a4f8aa20e3ea8b611846f19ed9
Cr-Commit-Position: refs/heads/master@{#326495}

Powered by Google App Engine
This is Rietveld 408576698