Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chvp committed Oct 15, 2023
1 parent 5dce669 commit b7a55f8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/controllers/rescans_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ class RescansControllerTest < ActionDispatch::IntegrationTest
post rescan_url(@runner)

assert_response :success

perform_enqueued_jobs

@runner.reload

# TDOD(chvp): Flaky tests?
assert_not_equal prev, @runner.finished_at
end

Expand All @@ -64,9 +66,11 @@ class RescansControllerTest < ActionDispatch::IntegrationTest
post rescans_url

assert_response :success

perform_enqueued_jobs

@runner.reload

# TDOD(chvp): Flaky tests?
assert_not_equal prev, @runner.finished_at
end
end

0 comments on commit b7a55f8

Please sign in to comment.