Testing the $flow
We'll start a flow with inner parallel operations and figure out how long it took...
send::
msg ctx.set (start=DIESEL_CUR...)
val DUR:Number=500
=500
val total:Number=0
=0
send::
msg ctx.set (stop=DIESEL_CUR...)
Overall duration should be around 3DUR, so less than 4DUR if the engine is not too busy...
send::
msg ctx.echo (s=stop, st=start)
send::
msg ctx.set (duration=(stop - st...)
expect:: (duration < (4 * DUR)
)
expect:: (total is 4
)
You need to log in to post a comment!