提交 66fda6b8 编写于 作者: J Jeremy Kemper

Fix duration check for longer sleep

上级 7ab78b9c
......@@ -100,7 +100,7 @@ def test_nested_events_can_be_instrumented
assert_equal 2, @events.size
assert_equal :awesome, @events.last.name
assert_equal Hash[:payload => "notifications"], @events.last.payload
assert_in_delta 100, @events.last.duration, 70
assert_in_delta 1000, @events.last.duration, 70
end
def test_event_is_pushed_even_if_block_fails
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册