test/ft_67_schedlaunch.rb in openwferu-0.9.16 vs test/ft_67_schedlaunch.rb in openwferu-0.9.17
- old
+ new
@@ -32,11 +32,11 @@
#log_level_to_debug
@engine.launch Test0, :in => "2s"
- sleep 0.200
+ sleep 0.400
assert_equal(
1,
@engine.get_scheduler.find_jobs("scheduled-launch").size)
@@ -56,11 +56,11 @@
t = Time.now
@engine.launch Test0, :at => (t + 2).to_s
- sleep 0.200
+ sleep 0.400
assert_equal(
1,
@engine.get_scheduler.find_jobs("scheduled-launch").size)
@@ -80,11 +80,11 @@
@engine.launch Test0, :cron => "* * * * *"
assert_trace ""
- sleep 130
+ sleep 121
assert_trace "hell0\nhell0"
assert_equal(
1,
@@ -94,10 +94,10 @@
#
# TEST 3
def test_3
- log_level_to_debug
+ #log_level_to_debug
@engine.launch Test0, :every => "2s"
assert_trace ""