Mock out retry waits in Autotest unittests |
|||
Issue descriptiondev_server_unittest.py contains multiple retry waits in the unittests. This alone adds about 20 seconds of wasted time to running unittests. I suspect that there are other tests as well that include waits.
,
Jun 22 2017
,
Jun 30 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/ed3f149995d231fa2e7e26b039ea701447341757 commit ed3f149995d231fa2e7e26b039ea701447341757 Author: Allen Li <ayatane@chromium.org> Date: Fri Jun 30 03:01:02 2017 [autotest] Mock out retry waiting in tests This is an example of how to save 20 seconds in unit tests with minimal effort. BUG= chromium:691696 TEST=None Change-Id: I281f2fc06de2e393639ff8afe545ea2553321fcc Reviewed-on: https://chromium-review.googlesource.com/545113 Commit-Ready: Allen Li <ayatane@chromium.org> Tested-by: Allen Li <ayatane@chromium.org> Reviewed-by: Allen Li <ayatane@chromium.org> [modify] https://crrev.com/ed3f149995d231fa2e7e26b039ea701447341757/client/common_lib/cros/retry_unittest.py [modify] https://crrev.com/ed3f149995d231fa2e7e26b039ea701447341757/client/common_lib/cros/dev_server_unittest.py
,
Jul 5 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by aut...@google.com
, Feb 15 2017