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

Unified Diff: recipe_engine/simulation_test.py

Issue 2265673002: Add LogDog / annotation protobuf support. (Closed) Base URL: https://github.com/luci/recipes-py@step-formal-struct
Patch Set: Stronger flush meta logic, moar test. Created 4 years, 2 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 | « recipe_engine/recipe_api.py ('k') | recipe_engine/stream.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/simulation_test.py
diff --git a/recipe_engine/simulation_test.py b/recipe_engine/simulation_test.py
index 17c1d1e511689cdb38340f1af3a4585b640e46df..e82faabfefc2650a5b5be6de1a1bbb8314089bbf 100644
--- a/recipe_engine/simulation_test.py
+++ b/recipe_engine/simulation_test.py
@@ -81,10 +81,7 @@ def RunRecipe(test_data):
config_types.ResetTostringFns()
annotator = SimulationAnnotatorStreamEngine()
- stream_engine = stream.ProductStreamEngine(
- stream.StreamEngineInvariants(),
- annotator)
- with stream_engine:
+ with stream.StreamEngineInvariants.wrap(annotator) as stream_engine:
step_runner = step_runner.SimulationStepRunner(stream_engine, test_data,
annotator)
« no previous file with comments | « recipe_engine/recipe_api.py ('k') | recipe_engine/stream.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698