Index: recipe_modules/bot_update/example.py |
diff --git a/recipe_modules/bot_update/example.py b/recipe_modules/bot_update/example.py |
index 9e915331e53e19aac19100e97fa439a0168456ef..99362ffcfad05b8d5fff3324df833ddeb6a68c78 100644 |
--- a/recipe_modules/bot_update/example.py |
+++ b/recipe_modules/bot_update/example.py |
@@ -30,6 +30,7 @@ def RunSteps(api): |
oauth2 = api.properties.get('oauth2', False) |
root_solution_revision = api.properties.get('root_solution_revision') |
suffix = api.properties.get('suffix') |
+ gerrit_no_reset = True if api.properties.get('gerrit_no_reset') else False |
api.bot_update.ensure_checkout(force=force, |
no_shallow=no_shallow, |
patch=patch, |
@@ -38,7 +39,8 @@ def RunSteps(api): |
refs=refs, patch_oauth2=oauth2, |
clobber=clobber, |
root_solution_revision=root_solution_revision, |
- suffix=suffix) |
+ suffix=suffix, |
+ gerrit_no_reset=gerrit_no_reset) |
def GenTests(api): |
@@ -143,6 +145,12 @@ def GenTests(api): |
slavename='somehost', |
root_solution_revision='revision', |
) |
+ yield api.test('gerrit_no_reset') + api.properties( |
+ mastername='experimental', |
+ buildername='Experimental Builder', |
+ slavename='somehost', |
+ gerrit_no_reset=1 |
+ ) |
yield api.test('tryjob_v8') + api.properties( |
mastername='tryserver.chromium.linux', |
buildername='linux_rel', |