Skip to content

Commit

Permalink
Updated #shutdown test for #24
Browse files Browse the repository at this point in the history
  • Loading branch information
drbrain committed Oct 17, 2012
1 parent 7d12277 commit 07b4092
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/test_net_http_persistent.rb
Expand Up @@ -1123,13 +1123,10 @@ def test_shutdown_in_all_threads
end

def test_shutdown_no_connections
conns
ssl_conns

@http.shutdown

assert_empty Thread.current[@http.generation_key]
assert_empty Thread.current[@http.ssl_generation_key]
assert_nil Thread.current[@http.generation_key]
assert_nil Thread.current[@http.ssl_generation_key]

assert_nil Thread.current[@http.request_key]
assert_nil Thread.current[@http.timeout_key]
Expand Down

0 comments on commit 07b4092

Please sign in to comment.