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

Unified Diff: recipes/example/nested.py

Issue 2245113002: Track step nesting in StreamEngine. (Closed) Base URL: https://github.com/luci/recipes-py@emit-initial-properties
Patch Set: Rebase, comments. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipes.py ('k') | recipes/example/nested.expected/basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipes/example/nested.py
diff --git a/recipes/example/nested.py b/recipes/example/nested.py
index d9e3671c38a8736024fb1154b9596d4fbba93c7e..4947ea1e2d1b5ab2340f260bc95ca1f9b8fc45f6 100644
--- a/recipes/example/nested.py
+++ b/recipes/example/nested.py
@@ -12,7 +12,7 @@ def RunSteps(api):
# Nest all steps below this.
with api.step.nest('complicated thing'):
with api.step.nest('first part'):
- api.step('wait a bit', ['sleep', '10'])
+ api.step('wait a bit', ['sleep', '1'])
# Prefix the name without indenting.
with api.step.context({'name': 'attempt number'}):
@@ -20,7 +20,7 @@ def RunSteps(api):
assert step_result.step['name'] == 'complicated thing.attempt number.one'
api.step('two', ['echo', 'derpy'])
- api.step('simple thing', ['sleep', '10'])
+ api.step('simple thing', ['sleep', '1'])
def GenTests(api):
« no previous file with comments | « recipes.py ('k') | recipes/example/nested.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698