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

Issue 2127943002: Thread Watcher: don't fail when test already failed. (Closed)

Created:
4 years, 5 months ago by tandrii(chromium)
Modified:
4 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/infra/testing/testing_support.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Thread Watcher: don't fail when test already failed. This prevents hiding the likely real root cause of the failure. Does not depend, but works with https://codereview.chromium.org/2121343004 change to expect_tests. R=machenbach@chromium.org, sergiyb@chromium.org BUG= Committed: https://chromium.googlesource.com/infra/testing/testing_support/+/5f1ddf31502b99f02679e13665cac7db15309ea9

Patch Set 1 #

Total comments: 6

Patch Set 2 : Test. #

Total comments: 8

Patch Set 3 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -2 lines) Patch
M testing_support/tests/thread_watcher_test.py View 1 2 3 chunks +39 lines, -1 line 0 comments Download
M testing_support/thread_watcher.py View 1 2 3 chunks +25 lines, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
tandrii(chromium)
PTAL
4 years, 5 months ago (2016-07-06 16:36:29 UTC) #2
Sergiy Byelozyorov
lgtm w/ suggestions https://codereview.chromium.org/2127943002/diff/1/testing_support/thread_watcher.py File testing_support/thread_watcher.py (right): https://codereview.chromium.org/2127943002/diff/1/testing_support/thread_watcher.py#newcode38 testing_support/thread_watcher.py:38: # Test failed before this check, ...
4 years, 5 months ago (2016-07-07 07:05:01 UTC) #3
tandrii(chromium)
Done! And added tests. https://codereview.chromium.org/2127943002/diff/1/testing_support/thread_watcher.py File testing_support/thread_watcher.py (right): https://codereview.chromium.org/2127943002/diff/1/testing_support/thread_watcher.py#newcode38 testing_support/thread_watcher.py:38: # Test failed before this ...
4 years, 5 months ago (2016-07-07 11:47:05 UTC) #4
Michael Achenbach
https://codereview.chromium.org/2127943002/diff/20001/testing_support/tests/thread_watcher_test.py File testing_support/tests/thread_watcher_test.py (right): https://codereview.chromium.org/2127943002/diff/20001/testing_support/tests/thread_watcher_test.py#newcode89 testing_support/tests/thread_watcher_test.py:89: def test_extra_threads_unittest_pass(self): Same method signature as the method above? ...
4 years, 5 months ago (2016-07-07 12:30:41 UTC) #6
tandrii(chromium)
https://codereview.chromium.org/2127943002/diff/20001/testing_support/tests/thread_watcher_test.py File testing_support/tests/thread_watcher_test.py (right): https://codereview.chromium.org/2127943002/diff/20001/testing_support/tests/thread_watcher_test.py#newcode89 testing_support/tests/thread_watcher_test.py:89: def test_extra_threads_unittest_pass(self): On 2016/07/07 12:30:41, Michael Achenbach wrote: > ...
4 years, 5 months ago (2016-07-07 12:56:39 UTC) #7
Michael Achenbach
lgtm
4 years, 5 months ago (2016-07-07 12:59:42 UTC) #8
tandrii(chromium)
Committed patchset #3 (id:40001) manually as 5f1ddf31502b99f02679e13665cac7db15309ea9 (presubmit successful).
4 years, 5 months ago (2016-07-07 13:00:10 UTC) #10
Sergiy Byelozyorov
4 years, 5 months ago (2016-07-08 07:36:41 UTC) #11
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698