History log of /external/autotest/site_utils/count_jobs.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5e2efb71ffebead22aa4f0744ad843ee79814b43 07-Feb-2017 Dan Shi <dshi@google.com> [autotest] Use the metrics_mock object in case chromite is not set up.

BUG=chromium:688166
TEST=unittest

Change-Id: Ic0077cb2dba75a8d820f229060f3f70f507850a1
Reviewed-on: https://chromium-review.googlesource.com/438754
Commit-Ready: Dan Shi <dshi@google.com>
Tested-by: Dan Shi <dshi@google.com>
Reviewed-by: Dan Shi <dshi@google.com>
/external/autotest/site_utils/count_jobs.py
c0c10611f77d1d634cd317b1fb7c914a099cfde0 23-Nov-2016 Ningning Xia <nxia@chromium.org> Move autotest_stats stats to monarch metrics

BUG=chromium:667171
TEST=utils/unittest_suite

Change-Id: I8cc4ca866df514e791845c676409d2230615cff3
Reviewed-on: https://chromium-review.googlesource.com/414187
Commit-Ready: Ningning Xia <nxia@chromium.org>
Tested-by: Ningning Xia <nxia@chromium.org>
Reviewed-by: Ningning Xia <nxia@chromium.org>
/external/autotest/site_utils/count_jobs.py
ebc34607d3d68d0d31b3c93a14ee711212beeb4a 16-Dec-2015 Paul Hobbs <phobbs@google.com> count_jobs_unittest: fix datetime mocking

Mocking out datetime.datetime causes django's ORM to mess up comparisons
of datetimes. This patch changes site_utils/count_jobs_unittest.py to
mock out just count_jobs's copy of the "datetime" class.

TEST=re-ran the unit tests. Increased the coverage of count_jobs_unittest
BUG=chromium:569983

Change-Id: Id77ad7d1e02b59b000ea1f948fb7750aaa035591
Reviewed-on: https://chromium-review.googlesource.com/318843
Commit-Ready: Paul Hobbs <phobbs@google.com>
Tested-by: Paul Hobbs <phobbs@google.com>
Reviewed-by: Fang Deng <fdeng@chromium.org>
/external/autotest/site_utils/count_jobs.py
29c37b310955ce7fac80cdc4b21a428353486190 12-Dec-2015 Paul Hobbs <phobbs@google.com> count_jobs: push daily AFE job count to statsd

The script counts the number of jobs in the AFE job table that were
created in the last 24 hours. This is intended to be run by a cron job
every 24 hours.

BUG=chromium:535787
TEST=Added unit tests.

Change-Id: I042c54636a6c5bb06fa898766f8021694c956bfe
Reviewed-on: https://chromium-review.googlesource.com/317920
Commit-Ready: Paul Hobbs <phobbs@google.com>
Tested-by: Paul Hobbs <phobbs@google.com>
Reviewed-by: Paul Hobbs <phobbs@google.com>
/external/autotest/site_utils/count_jobs.py