4 ThreadSpawn|ThreadPool|RevThreadSpawn|RevThreadPool
) ;;
5 *) t_info
"$0 is only compatible with Thread*"; exit 0 ;;
8 t_plan
5 "ThreadTimeout Rack middleware test for $model"
10 t_begin
"configure and start" && {
13 rainbows
-D t9100.ru
-c $unicorn_config
17 t_begin
"normal request should not timeout" && {
18 test x
"HI" = x
"$(curl -sSf http://$listen/ 2>> $curl_err)"
21 t_begin
"sleepy request times out with 408" && {
23 curl
-sSf http
://$listen/2 2>> $curl_err ||
> $ok
28 t_begin
"kill server" && {
32 t_begin
"no errors in Rainbows! stderr" && {