File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ impl Guest for Component {
2424 log:: info ( "Persistent sleep finished" ) ;
2525 let result = step ( i, i * 200 ) . inspect_err ( |_| log:: error ( "step timed out" ) ) ?;
2626 acc += result;
27- log:: info ( & format ! ( "Step succeeded {i}= ={result}" ) ) ;
27+ log:: info ( & format ! ( "step( {i}) ={result}" ) ) ;
2828 }
2929 log:: info ( "serial completed" ) ;
3030 Ok ( acc)
@@ -46,7 +46,7 @@ impl Guest for Component {
4646 step_await_next ( & join_set) . expect ( "every join set has 1 execution" ) ;
4747 let result = result. inspect_err ( |_| log:: error ( "step timed out" ) ) ?;
4848 acc = 10 * acc + result; // order-sensitive
49- log:: info ( & format ! ( "child ({i})={result}, acc={acc}" ) ) ;
49+ log:: info ( & format ! ( "step ({i})={result}, acc={acc}" ) ) ;
5050 workflow_support:: sleep ( ScheduleAt :: In ( Duration :: Milliseconds ( 300 ) ) ) ;
5151 }
5252 log:: info ( & format ! ( "parallel completed: {acc}" ) ) ;
You can’t perform that action at this time.
0 commit comments