@@ -31,23 +31,23 @@ def set_logger(logger)
31
31
time = Time . now
32
32
instrument "enqueue_recurring_task.solid_queue" , task : :example_task , active_job_id : "b944ddbc-6a37-43c0-b661-4b56e57195f5" , at : time
33
33
34
- assert_match_logged :info , "Enqueued recurring task" , "task: :example_task, active_job_id: \" b944ddbc-6a37-43c0-b661-4b56e57195f5\" , at: \" #{ time . iso8601 } \" "
34
+ assert_match_logged :debug , "Enqueued recurring task" , "task: :example_task, active_job_id: \" b944ddbc-6a37-43c0-b661-4b56e57195f5\" , at: \" #{ time . iso8601 } \" "
35
35
end
36
36
37
37
test "recurring task skipped" do
38
38
attach_log_subscriber
39
39
time = Time . now
40
40
instrument "enqueue_recurring_task.solid_queue" , task : :example_task , skipped : true , at : time
41
41
42
- assert_match_logged :info , "Skipped recurring task – already dispatched" , "task: :example_task, at: \" #{ time . iso8601 } \" "
42
+ assert_match_logged :debug , "Skipped recurring task – already dispatched" , "task: :example_task, at: \" #{ time . iso8601 } \" "
43
43
end
44
44
45
45
test "error enqueuing recurring task" do
46
46
attach_log_subscriber
47
47
time = Time . now
48
48
instrument "enqueue_recurring_task.solid_queue" , task : :example_task , enqueue_error : "Everything is broken" , at : time
49
49
50
- assert_match_logged :info , "Error enqueuing recurring task" , "task: :example_task, enqueue_error: \" Everything is broken\" , at: \" #{ time . iso8601 } \" "
50
+ assert_match_logged :error , "Error enqueuing recurring task" , "task: :example_task, enqueue_error: \" Everything is broken\" , at: \" #{ time . iso8601 } \" "
51
51
end
52
52
53
53
test "deregister process" do
0 commit comments