Skip to content

Commit 74a964f

Browse files
committed
use bing for integration pipelining tests
1 parent 8c72228 commit 74a964f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/pipelining_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
EventMachine.run do
99

1010
# Mongrel doesn't support pipelined requests - bah!
11-
conn = EventMachine::HttpRequest.new('http://www.mexicodiario.com/')
11+
conn = EventMachine::HttpRequest.new('http://www.bing.com/')
1212

1313
pipe1 = conn.get :keepalive => true
14-
pipe2 = conn.get :path => '/contact/', :keepalive => true
14+
pipe2 = conn.get :path => '/news', :keepalive => true
1515

1616
processed = 0
1717
stop = proc { EM.stop if processed == 2}
@@ -36,10 +36,10 @@
3636

3737
it "should perform successful pipelined HEAD requests" do
3838
EventMachine.run do
39-
conn = EventMachine::HttpRequest.new('http://www.mexicodiario.com/')
39+
conn = EventMachine::HttpRequest.new('http://www.bing.com/')
4040

4141
pipe1 = conn.head :keepalive => true
42-
pipe2 = conn.head :path => '/contact/', :keepalive => true
42+
pipe2 = conn.head :path => '/news', :keepalive => true
4343

4444
processed = 0
4545
stop = proc { EM.stop if processed == 2}

0 commit comments

Comments
 (0)