about summary refs log tree commit homepage
path: root/t/app_deferred.ru
diff options
context:
space:
mode:
Diffstat (limited to 't/app_deferred.ru')
-rw-r--r--t/app_deferred.ru1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/app_deferred.ru b/t/app_deferred.ru
index 179ac95..a70b33b 100644
--- a/t/app_deferred.ru
+++ b/t/app_deferred.ru
@@ -10,6 +10,7 @@ class DeferredApp < Struct.new(:app)
   end
 
   def call(env)
+    env["rack.multithread"] or raise RuntimeError, "rack.multithread not true"
     body = "#{Thread.current.inspect}\n"
     headers = {
       "Content-Type" => "text/plain",