1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Fix race conditions in tests, change travis rbx name

This commit is contained in:
Evan Phoenix 2011-11-22 16:32:35 -08:00
parent d255f9769f
commit c62f18f33e
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,5 @@
rvm:
- 1.8.7
- 1.9.3
- rbx-2.0
- rbx
- jruby

View file

@ -68,6 +68,8 @@ class TestRackServer < Test::Unit::TestCase
hit(['http://localhost:9998/test'])
stop
if exc = @checker.exception
raise exc
end
@ -80,6 +82,8 @@ class TestRackServer < Test::Unit::TestCase
hit(['http://localhost:9998/test/a/b/c'])
stop
assert_equal "/test/a/b/c", input['PATH_INFO']
end
@ -95,6 +99,8 @@ class TestRackServer < Test::Unit::TestCase
hit(['http://localhost:9998/test'])
stop
assert_equal true, closed
end