John,
To get some insight on the engine status, I was expecting to get a
list of all processes (scheduled and/or running).
Using latest version in svn, I tried this but get zero count.
Workflow does get executed.
Thanks,
Pat.
require 'openwfe/def'
require 'flowtestbase'
class ScheduleIn < Test::Unit::TestCase
include FlowTestBase
class Test0 < ProcessDefinition
_print "hell0"
end
def test_0
@engine.launch(Test0, :in => "2s")
sleep 0.200
puts @engine.list_processes.size
puts @engine.get_scheduler.pending_job_count
puts @engine.get_scheduler.find_jobs("scheduled-launch").size
sleep 2.500
assert_equal @tracer.to_s, "hell0"
end
end
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenWFEru dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/openwferu-dev?hl=en
-~----------~----~----~----~------~----~------~--~---