Skip to content

Commit

Permalink
Changing network_configuration_spec to match for either index-based D…
Browse files Browse the repository at this point in the history
…NS entry or id-based DNS entry.

* This is to make BATs compatible with global-net

[#103551020](https://www.pivotaltracker.com/story/show/103551020)

Signed-off-by: Shatarupa Nandi <snandi@pivotal.io>
  • Loading branch information
Jay Guo committed Dec 5, 2015
1 parent 28ef918 commit 086cd3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/system/network_configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

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

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

0 comments on commit 086cd3e

Please sign in to comment.