test/ft_26c_load.rb in openwferu-0.9.12 vs test/ft_26c_load.rb in openwferu-0.9.12.863
- old
+ new
@@ -39,31 +39,25 @@
end
#def xxxx_load_0
def test_load_0
- #require 'openwfe/expool/journal'
- #@engine.application_context[:keep_journals] = true
- #@engine.init_service("journal", Journal)
+ #@engine.get_scheduler.sstop
#
- # very heavy
+ # JRuby is no friend of the Scheduler
- #require 'openwfe/expool/errorjournal'
- #@engine.init_service("journal", ErrorJournal)
- #
- # light, almost inexistent (when there are no errors)
-
$count = 0
@engine.register_participant("count") do |workitem|
$count += 1
- #print "."
+ print "."
end
fei = @engine.launch(LaunchItem.new(TestDefinition0))
puts "launched #{fei}"
@engine.wait_for fei
+ #sleep 60
assert_equal $count, N
end
end