test/ft_59_ps.rb in openwferu-0.9.13 vs test/ft_59_ps.rb in openwferu-0.9.14
- old
+ new
@@ -38,13 +38,13 @@
sa = @engine.register_participant("store_a", OpenWFE::HashParticipant)
sb = @engine.register_participant("store_b", OpenWFE::HashParticipant)
fei = @engine.launch Def59
- sleep 0.500
+ sleep 0.250
- ps = @engine.get_process_status
+ ps = @engine.list_process_status
#puts ps
assert_equal ps[fei.wfid].expressions.size, 2
assert_equal ps[fei.wfid].errors.size, 0
@@ -67,13 +67,13 @@
a = @engine.register_participant(:alpha, OpenWFE::HashParticipant)
b = @engine.register_participant(:bravo, OpenWFE::HashParticipant)
fei = @engine.launch Def59b
- sleep 0.500
+ sleep 0.100
- ps = @engine.get_process_status
+ ps = @engine.list_process_status
#puts ps
assert_equal ps[fei.wfid].expressions.size, 1
assert_equal ps[fei.wfid].errors.size, 0
@@ -97,12 +97,12 @@
# nothing
end
fei = @engine.launch Def59_1
- sleep 0.500
+ sleep 0.200
- ps = @engine.get_process_status
+ ps = @engine.list_process_status
#puts ps
#puts ps[fei.wfid].errors
assert_equal ps[fei.wfid].expressions.size, 1
assert_equal ps[fei.wfid].errors.size, 1