Skip to content

Commit b61bbdf

Browse files
p-schlickmannrosa
authored andcommitted
Removing comments && extra sleep
1 parent 4db1f1f commit b61bbdf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/integration/recurring_tasks_test.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ class RecurringTasksTest < ActiveSupport::TestCase
3030
assert_equal "42", result.value
3131
end
3232
end
33-
34-
# no need to stop @pid supervisor - that will be handled in teardown
3533
end
3634

3735
test "persist and delete configured tasks" do
@@ -61,8 +59,6 @@ class RecurringTasksTest < ActiveSupport::TestCase
6159

6260
scheduler1.stop
6361
scheduler2.stop
64-
65-
# no need to stop @pid supervisor - that will be handled in teardown
6662
end
6763

6864
private
@@ -93,6 +89,5 @@ def terminate_gracefully(pid)
9389

9490
terminate_process(pid)
9591
wait_for_registered_processes(0, timeout: SolidQueue.shutdown_timeout)
96-
sleep SolidQueue.shutdown_timeout
9792
end
9893
end

0 commit comments

Comments
 (0)