test/ft_34_cancelwfid.rb in openwferu-0.9.9 vs test/ft_34_cancelwfid.rb in openwferu-0.9.10
- old
+ new
@@ -37,10 +37,12 @@
sp = @engine.register_participant(
"store_participant", OpenWFE::HashParticipant)
fei = @engine.launch(TestCancelWfid0)
+ sleep 0.500
+
@engine.cancel_process(fei.wfid)
l = @engine.list_processes()
assert_equal l.size, 0
@@ -53,9 +55,11 @@
sp = @engine.register_participant(
"store_participant", OpenWFE::YamlParticipant)
fei = @engine.launch(TestCancelWfid0)
+
+ sleep 0.500
@engine.cancel_process(fei.wfid)
#l = @engine.list_processes()
#assert_equal l.size, 0