diff --git a/recipes/recipe_modules/gerrit/examples/full.expected/basic.json b/recipes/recipe_modules/gerrit/examples/full.expected/basic.json index f99ca6c37..21ec778cd 100644 --- a/recipes/recipe_modules/gerrit/examples/full.expected/basic.json +++ b/recipes/recipe_modules/gerrit/examples/full.expected/basic.json @@ -727,7 +727,7 @@ }, { "failure": { - "humanReason": "1 out of 1 aggregated steps failed: Error querying for CL description: host:'https://chromium-review.googlesource.com' change:122; patchset:3" + "humanReason": "Error querying for CL description: host:'https://chromium-review.googlesource.com' change:122; patchset:3" }, "name": "$result" } diff --git a/recipes/recipe_modules/gerrit/examples/full.py b/recipes/recipe_modules/gerrit/examples/full.py index 0178771c1..93ba13205 100644 --- a/recipes/recipe_modules/gerrit/examples/full.py +++ b/recipes/recipe_modules/gerrit/examples/full.py @@ -89,12 +89,11 @@ def RunSteps(api): api.gerrit.abandon_change(host, 123, 'bad roll') - with api.step.defer_results(): - api.gerrit.get_change_description( - host, - change=122, - patchset=3, - step_test_data=api.gerrit.test_api.get_empty_changes_response_data) + api.gerrit.get_change_description( + host, + change=122, + patchset=3, + step_test_data=api.gerrit.test_api.get_empty_changes_response_data) def GenTests(api):