We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd2d460 commit b04aa8eCopy full SHA for b04aa8e
spec/acceptance/acceptance_tests.rb
@@ -10,13 +10,13 @@
10
MAX_WAIT_TIME = 30 # how long to wait for the server to start
11
12
describe "Hooks" do
13
- let(:http) { Net::HTTP.new("127.0.0.1", 8080) }
+ let(:http) { Net::HTTP.new("0.0.0.0", 8080) }
14
15
before(:all) do
16
start_time = Time.now
17
loop do
18
begin
19
- response = Net::HTTP.new("127.0.0.1", 8080).get("/health")
+ response = Net::HTTP.new("0.0.0.0", 8080).get("/health")
20
break if response.is_a?(Net::HTTPSuccess)
21
rescue Errno::ECONNREFUSED, SocketError
22
# Server not ready yet, continue waiting
0 commit comments