aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-08-13 22:02:57 +0930
committerMatthew Draper <matthew@trebex.net>2017-08-13 22:03:40 +0930
commit788f46d4863a0f38ecec042864da291f2342ec74 (patch)
treeaeab6e6f1bbd1dcdce246b4002bedae976d18bed
parent6dc9c91c82204526017b4c024f88ac60b81879b9 (diff)
downloadrails-788f46d4863a0f38ecec042864da291f2342ec74.tar.gz
rails-788f46d4863a0f38ecec042864da291f2342ec74.tar.bz2
rails-788f46d4863a0f38ecec042864da291f2342ec74.zip
Wait for the Delayed Job worker thread to finish
-rw-r--r--activejob/test/support/integration/adapters/delayed_job.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activejob/test/support/integration/adapters/delayed_job.rb b/activejob/test/support/integration/adapters/delayed_job.rb
index ae5de78b60..fc9bae47fa 100644
--- a/activejob/test/support/integration/adapters/delayed_job.rb
+++ b/activejob/test/support/integration/adapters/delayed_job.rb
@@ -18,5 +18,6 @@ module DelayedJobJobsManager
def stop_workers
@worker.stop
+ @thread.join
end
end