test/ft_60_ecancel.rb in openwferu-0.9.13 vs test/ft_60_ecancel.rb in openwferu-0.9.14
- old
+ new
@@ -38,23 +38,22 @@
def test_0
#$OWFE_LOG.level = Logger::DEBUG
fei = @engine.launch TestDefinition0
- fei = fei.dup
- sleep 0.500
+ sleep 0.200
#puts
#puts @engine.get_process_stack fei.wfid
#puts
fei.expression_id = "0.0.1"
fei.expression_name = "sequence"
@engine.cancel_expression fei
- sleep 0.700
+ sleep 0.200
assert_equal @tracer.to_s, "a\nb.0\nc"
assert_equal @engine.get_process_stack(fei.wfid).size, 0
@@ -64,12 +63,11 @@
def test_1
#$OWFE_LOG.level = Logger::DEBUG
fei = @engine.launch TestDefinition0
- fei = fei.dup
- sleep 0.500
+ sleep 0.200
fei.expression_id = "0.0.1.2"
fei.expression_name = "print"
@engine.cancel_expression fei