test/ft_34_cancelwfid.rb in openwferu-0.9.13 vs test/ft_34_cancelwfid.rb in openwferu-0.9.14

- old
+ new

@@ -37,33 +37,37 @@ sp = @engine.register_participant( "store_participant", OpenWFE::HashParticipant) fei = @engine.launch(TestCancelWfid0) - sleep 0.500 + sleep 0.100 @engine.cancel_process(fei.wfid) + sleep 0.300 + l = @engine.list_processes() assert_equal l.size, 0 assert_equal sp.size, 0 # check that participant got cancelled as well end def test_cancelwfid_1 + log_level_to_debug + sp = @engine.register_participant( "store_participant", OpenWFE::YamlParticipant) fei = @engine.launch(TestCancelWfid0) - sleep 0.500 + sleep 0.100 @engine.cancel_process(fei.wfid) - sleep 0.500 + sleep 0.100 assert_equal @engine.get_process_stack(fei.wfid).size, 0 assert_equal sp.size, 0 # check that participant got cancelled as well