DescriptionReduced logging and better log format for PyAuto WaitUntil().
Since most calls to WaitUntil use lambdas, you commonly see a lot of:
DEBUG WaitUntil(<function <lambda> at 0x79b984c4>) still waiting. Expecting None. Last returned False.
With this change it is instead:
DEBUG WaitUntil(pyauto.py:281 self.WaitUntil(lambda: _AreOrigPidsDead(orig_pids))) still waiting. Expecting True. Last returned False.
Also reduce the frequency to once every 5 seconds.
BUG=None.
TEST=Run any PyAuto test that uses WaitUntil().
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119974
Patch Set 1 #Patch Set 2 : Merge. #Messages
Total messages: 8 (0 generated)
|