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

Issue 10383216: Replaced EXPECT_TRUE with a LOG(WARNING) for automation commands to provide more information... (Closed)

Created:
8 years, 7 months ago by craigdh
Modified:
8 years, 7 months ago
CC:
chromium-reviews, dennis_jeffrey, anantha, dyu1, Nirnimesh
Visibility:
Public.

Description

Replaced EXPECT_TRUE with a LOG(WARNING) for automation commands to provide more information about the failure. Also reports the amount of time the automation call took, which should give some idea whether it returned due to a timeout. BUG=chromium-os:30880 TEST=Compiled and ran a PyAuto test. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137570

Patch Set 1 #

Patch Set 2 : Switched to LOG(FATAL). #

Total comments: 1

Patch Set 3 : Switched to LOG(WARNING) and report how long the command ran. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -2 lines) Patch
M chrome/test/pyautolib/pyautolib.cc View 1 2 2 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
craigdh
8 years, 7 months ago (2012-05-16 18:58:34 UTC) #1
dennis_jeffrey
LGTM. Please wait for Nirnimesh to approve before submitting.
8 years, 7 months ago (2012-05-16 19:03:38 UTC) #2
Nirnimesh
https://chromiumcodereview.appspot.com/10383216/diff/2001/chrome/test/pyautolib/pyautolib.cc File chrome/test/pyautolib/pyautolib.cc (right): https://chromiumcodereview.appspot.com/10383216/diff/2001/chrome/test/pyautolib/pyautolib.cc#newcode380 chrome/test/pyautolib/pyautolib.cc:380: LOG(FATAL) << "Automation failed: " << request; No, do ...
8 years, 7 months ago (2012-05-16 19:55:17 UTC) #3
craigdh
Please take another look.
8 years, 7 months ago (2012-05-16 21:52:21 UTC) #4
Nirnimesh
LGTM
8 years, 7 months ago (2012-05-16 22:12:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/10383216/3004
8 years, 7 months ago (2012-05-16 22:16:02 UTC) #6
commit-bot: I haz the power
8 years, 7 months ago (2012-05-17 00:04:14 UTC) #7
Change committed as 137570

Powered by Google App Engine
This is Rietveld 408576698