flow-story Pub Share

Testing the $flow

We'll start a flow with inner parallel operations and figure out how long it took...

send::  msg ctx.set  (start)

val DUR:Number=500=500 val total:Number=0=0

msg flow.start 

send::  msg ctx.set  (stop)

Overall duration should be around 3DUR, so less than 4DUR if the engine is not too busy...

send::  msg ctx.echo  (s, st)

send::  msg ctx.set  (duration)

expect::  (duration < (4 * DUR))
expect::  (total is 4)


Was this useful?    

By: Razie | 2016-10-26 .. 2022-06-17 | Tags: story , dsl , engine , check , sanity


Viewed 931 times ( | History | Print ) this page.

You need to log in to post a comment!

© Copyright DieselApps, 2012-2024, all rights reserved.