From 2c4d255f3215b0245b3e46f52982c1a4e6f43a2b Mon Sep 17 00:00:00 2001 From: Danny Berger Date: Mon, 7 Dec 2015 11:25:45 -0800 Subject: [PATCH] Changing network_configuration_spec to get both DNS entries from resolv.conf to support global-net. Signed-off-by: Shatarupa Nandi --- spec/system/network_configuration_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/network_configuration_spec.rb b/spec/system/network_configuration_spec.rb index 95f62a1..3fc65ca 100644 --- a/spec/system/network_configuration_spec.rb +++ b/spec/system/network_configuration_spec.rb @@ -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