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

Issue 560173002: Simplify objects passed to the result stage (Closed)

Created:
6 years, 3 months ago by pgervais
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/infra/testing/expect_tests@subprocess
Visibility:
Public.

Description

Simplify objects passed to the result stage In the case where the run stage is skipped, Test and MultiTest objects are trimmed down to avoid passing module objects. Those are tricky to get through queues because the module must be importable at both ends. BUG=405428 R=dnj@chromium.org, tandrii@chromium.org Committed: https://chromium.googlesource.com/infra/testing/expect_tests/+/5c273d938462ef825892bd25fb181735b8993e83

Patch Set 1 #

Total comments: 7

Patch Set 2 : Rebased and refactored #

Patch Set 3 : Fixed one line length #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -4 lines) Patch
M expect_tests/handle_list.py View 1 2 3 chunks +29 lines, -4 lines 0 comments Download
M expect_tests/type_definitions.py View 1 3 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
pgervais
This is a first step towards running tests in separate packages in separate processes (one ...
6 years, 3 months ago (2014-09-10 22:45:40 UTC) #2
pgervais
+agable
6 years, 3 months ago (2014-09-10 23:39:03 UTC) #4
tandrii(chromium)
LGTM However, since you asked for cleaner alternatives, I've proposed something in a comment. I'm ...
6 years, 3 months ago (2014-09-12 17:27:03 UTC) #6
dnj
https://codereview.chromium.org/560173002/diff/1/expect_tests/handle_list.py File expect_tests/handle_list.py (right): https://codereview.chromium.org/560173002/diff/1/expect_tests/handle_list.py#newcode5 expect_tests/handle_list.py:5: from expect_tests.type_definitions import Handler, Test, FakeTest, MultiTest Since FakeTest ...
6 years, 3 months ago (2014-09-12 17:35:39 UTC) #8
pgervais
I think I've found a satisfactory solution. ptal https://codereview.chromium.org/560173002/diff/1/expect_tests/handle_list.py File expect_tests/handle_list.py (right): https://codereview.chromium.org/560173002/diff/1/expect_tests/handle_list.py#newcode5 expect_tests/handle_list.py:5: from ...
6 years, 3 months ago (2014-09-12 21:28:31 UTC) #9
dnj
https://codereview.chromium.org/560173002/diff/1/expect_tests/handle_list.py File expect_tests/handle_list.py (right): https://codereview.chromium.org/560173002/diff/1/expect_tests/handle_list.py#newcode5 expect_tests/handle_list.py:5: from expect_tests.type_definitions import Handler, Test, FakeTest, MultiTest On 2014/09/12 ...
6 years, 3 months ago (2014-09-12 21:35:07 UTC) #10
pgervais
On 2014/09/12 21:35:07, dnj wrote: > https://codereview.chromium.org/560173002/diff/1/expect_tests/handle_list.py > File expect_tests/handle_list.py (right): > > https://codereview.chromium.org/560173002/diff/1/expect_tests/handle_list.py#newcode5 > ...
6 years, 3 months ago (2014-09-12 21:52:17 UTC) #11
dnj
lgtm
6 years, 3 months ago (2014-09-12 22:00:14 UTC) #12
pgervais
On 2014/09/12 22:00:14, dnj wrote: > lgtm Thanks. But this depends on https://codereview.chromium.org/556313004/. Could you ...
6 years, 3 months ago (2014-09-12 23:12:11 UTC) #13
pgervais
6 years, 3 months ago (2014-09-12 23:25:41 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 5c273d9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698