test/functional/rt_4_cron.rb in ruote-2.1.1 vs test/functional/rt_4_cron.rb in ruote-2.1.2

- old
+ new

@@ -51,12 +51,13 @@ assert_match /pre\npost/, @tracer.to_s @engine.cancel_process(wfid) - msg = wait_for(wfid) + while msg = wait_for(wfid) + break if msg['action'] == 'terminated' + end - assert_equal 'terminated', msg['action'] assert_equal 0, @engine.processes.size assert_equal 0, @engine.storage.get_many('schedules').size end end