test/ft_23c_wait.rb in openwferu-0.9.16 vs test/ft_23c_wait.rb in openwferu-0.9.17

- old
+ new

@@ -27,67 +27,69 @@ class Wait0c < ProcessDefinition sequence do concurrence do sequence do - wait :until => "${done} == true", :frequency => "2s" + wait :until => "${done} == true", :frequency => "500" _print "after wait" end sequence do - _sleep "1s" + _sleep "200" _print "before done" _set :variable => "done", :value => "true" end end _print "over" end end def test_0 + #log_level_to_debug + dotest( Wait0c, """ before done after wait over """.strip) - #3) end # # Test 1 # class Wait1c < ProcessDefinition sequence do concurrence do sequence do - wait :frequency => "2s" do + wait :frequency => "500" do equals :variable_value => "done", :other_value => "true" end _print "after when" end sequence do - _sleep "1s" + _sleep "200" _print "before done" _set :variable => "done", :value => "true" end end _print "over" end end def test_1 + #log_level_to_debug + dotest( Wait1c, """ before done after when over """.strip) - #4) end end