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

Unified Diff: scripts/slave/recipe_modules/auto_bisect_staging/example.py

Issue 2469503002: Setting a maximum number of test runs per revision. (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/auto_bisect_staging/example.py
diff --git a/scripts/slave/recipe_modules/auto_bisect_staging/example.py b/scripts/slave/recipe_modules/auto_bisect_staging/example.py
index 0e7ca1627be17a70d15738b1cb8019d93ebd18ce..58a541b7f1e4a4eb3d0c7def57f2970294aa01de 100644
--- a/scripts/slave/recipe_modules/auto_bisect_staging/example.py
+++ b/scripts/slave/recipe_modules/auto_bisect_staging/example.py
@@ -760,3 +760,46 @@ def GenTests(api):
'build_status': ['ERROR'],
},
]))
+ yield (
+ api.test('no_values')
+ + api.properties(
+ mastername='tryserver.chromium.perf',
+ buildername='linux_perf_bisect',
+ slavename='dummyslave',
+ buildnumber=571,
+ bisect_config={
+ 'test_type': 'perf',
+ 'command':
+ ('src/tools/perf/run_benchmark -v --browser=release '
+ '--output-format=valueset smoothness.tough_scrolling_cases'),
+ 'good_revision': '314015',
+ 'bad_revision': '314017',
+ 'metric': 'mean_input_event_latency/mean_input_event_latency',
+ 'bug_id': '-1',
+ 'gs_bucket': 'chrome-perf',
+ 'dummy_builds': 'True',
+ 'dummy_tests': 'True',
+ 'dummy_job_names': 'True',
+ 'bypass_stats_check': 'True',
+ 'skip_gclient_ops': 'True',
+ 'recipe_tester_name': 'linux_perf_tester'
+ })
+ + api.auto_bisect_staging([
+ {
+ 'hash': 'a6298e4afedbf2cd461755ea6f45b0ad64222222',
+ 'commit_pos': '314015',
+ 'parsed_values': [19, 20, 23, 1],
+ 'test_results': 21 * [{'stdout': 'benchmark text', 'retcode': 0}],
+ },
+ {
+ 'hash': 'dcdcdc0ff1122212323134879ddceeb1240b0988',
+ 'commit_pos': '314016',
+ 'parsed_values': [404],
+ 'test_results': 21 * [{'stdout': 'benchmark txt', 'retcode': 0}],
+ },
+ {
+ 'hash': '00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111',
+ 'commit_pos': '314017',
+ 'parsed_values': [12, 13, 14, 15, 7],
+ 'test_results': 21 * [{'stdout': 'benchmark text', 'retcode': 0}],
+ }]))

Powered by Google App Engine
This is Rietveld 408576698