about summary refs log tree commit homepage
path: root/t/t3000.ru
diff options
context:
space:
mode:
Diffstat (limited to 't/t3000.ru')
-rw-r--r--t/t3000.ru6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/t3000.ru b/t/t3000.ru
index 7053c1a..9b9c56a 100644
--- a/t/t3000.ru
+++ b/t/t3000.ru
@@ -2,5 +2,9 @@ use Rack::ContentLength
 use Rack::ContentType
 run lambda { |env|
   Actor.sleep 1
-  [ 200, {}, [ Thread.current.inspect << "\n" ] ]
+  if env['rack.multithread'] == false && env['rainbows.model'] == :Revactor
+    [ 200, {}, [ Thread.current.inspect << "\n" ] ]
+  else
+    raise "rack.multithread is true"
+  end
 }