Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Use a well known target
Browse files Browse the repository at this point in the history
- cannot always access the gateway ip so use a well known target
  • Loading branch information
Michael Fraenkel committed Jul 7, 2016
1 parent d6cea7b commit b6487e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warden/spec/container/linux_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ def verify_icmp_connectivity_to_host(handle)

context "when allow_networks is configured" do
# Allow traffic to the first two subnets
host_gw_ip = `ip route get 1.1.1.1 | cut -f 3 -d ' ' |head -n 1`
host_gw_ip = "8.8.4.4"
let(:allow_networks) do
[host_gw_ip]
end
Expand Down

0 comments on commit b6487e6

Please sign in to comment.