Sha256: e5019795df136755f8750665c2d99adcdd003e0d455a2a095e7ad49f4fded3fc
Contents?: true
Size: 879 Bytes
Versions: 4
Compression:
Stored size: 879 Bytes
Contents
# # testing ruote # # Thu Jul 16 13:49:09 JST 2009 # require File.expand_path('../base', __FILE__) require File.expand_path('../restart_base', __FILE__) class RtErrorsTest < Test::Unit::TestCase include FunctionalBase include RestartBase def test_err_and_restart start_new_engine pdef = Ruote.process_definition :name => 'test' do sequence do nada end end #@dashboard.noisy = true wfid = @dashboard.launch(pdef) wait_for(wfid) ps = @dashboard.process(wfid) assert_equal 1, ps.errors.size @dashboard.shutdown # restart... start_new_engine #@dashboard.noisy = true assert_equal 1, @dashboard.processes.size ps = @dashboard.process(wfid) assert_equal 1, ps.errors.size @dashboard.cancel_process(wfid) wait_for(wfid) assert_nil @dashboard.process(wfid) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruote-2.3.0.3 | test/functional/rt_2_errors.rb |
ruote-2.3.0.2 | test/functional/rt_2_errors.rb |
ruote-2.3.0.1 | test/functional/rt_2_errors.rb |
ruote-2.3.0 | test/functional/rt_2_errors.rb |