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

Side by Side Diff: client/site_tests/logging_CrashSender/logging_CrashSender.py

Issue 3381011: autotest: Test increased crash thresholds. (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | client/site_tests/logging_UserCrash/logging_UserCrash.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import logging, os 5 import logging, os
6 from autotest_lib.client.bin import site_crash_test, site_utils, test 6 from autotest_lib.client.bin import site_crash_test, site_utils, test
7 from autotest_lib.client.common_lib import error, utils 7 from autotest_lib.client.common_lib import error, utils
8 8
9 _CRASH_SENDER_CRON_PATH = '/etc/cron.hourly/crash_sender.hourly' 9 _CRASH_SENDER_CRON_PATH = '/etc/cron.hourly/crash_sender.hourly'
10 _DAILY_RATE_LIMIT = 8 10 _DAILY_RATE_LIMIT = 32
11 _MIN_UNIQUE_TIMES = 4 11 _MIN_UNIQUE_TIMES = 4
12 _SECONDS_SEND_SPREAD = 3600 12 _SECONDS_SEND_SPREAD = 3600
13 13
14 14
15 class logging_CrashSender(site_crash_test.CrashTest): 15 class logging_CrashSender(site_crash_test.CrashTest):
16 version = 1 16 version = 1
17 17
18 18
19 def _test_sender_simple_minidump(self): 19 def _test_sender_simple_minidump(self):
20 """Test sending a single minidump crash report.""" 20 """Test sending a single minidump crash report."""
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 'sender_simple_minidump', 199 'sender_simple_minidump',
200 'sender_simple_kernel_crash', 200 'sender_simple_kernel_crash',
201 'sender_pausing', 201 'sender_pausing',
202 'sender_reports_disabled', 202 'sender_reports_disabled',
203 'sender_rate_limiting', 203 'sender_rate_limiting',
204 'sender_single_instance', 204 'sender_single_instance',
205 'sender_send_fails', 205 'sender_send_fails',
206 'sender_leaves_core_files', 206 'sender_leaves_core_files',
207 'sender_unknown_report_kind', 207 'sender_unknown_report_kind',
208 'cron_runs']) 208 'cron_runs'])
OLDNEW
« no previous file with comments | « no previous file | client/site_tests/logging_UserCrash/logging_UserCrash.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698