Skip to content

Commit

Permalink
Changing network_configuration_spec to get both DNS entries from reso…
Browse files Browse the repository at this point in the history
…lv.conf to support global-net.

Signed-off-by: Shatarupa Nandi <snandi@pivotal.io>
  • Loading branch information
dpb587-pivotal authored and Shatarupa Nandi committed Dec 7, 2015
1 parent 086cd3e commit 2c4d255
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/system/network_configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
end

it 'reverse looks up instance' do
name = dns.getname(public_ip).to_s
expect(name).to include("0.batlight.static.bat.#{bosh_tld}")
names = dns.getnames(public_ip)
expect(names.to_s).to include("0.batlight.static.bat.#{bosh_tld}.")
end

it 'resolves instance names from deployed VM' do
Expand Down

0 comments on commit 2c4d255

Please sign in to comment.