Project

General

Profile

« Previous | Next » 

Revision 997cdccf

Added by Timo Goebel over 7 years ago

fixes #17853 - resolve ips in interface scope

View differences:

test/active_support_test_case_helper.rb
def self.disable_orchestration
#This disables the DNS/DHCP orchestration
Host.any_instance.stubs(:boot_server).returns("boot_server")
Resolv::DNS.any_instance.stubs(:getname).returns("foo.fqdn")
Resolv::DNS.any_instance.stubs(:getaddress).returns("127.0.0.1")
Resolv::DNS.any_instance.stubs(:getresources).returns([OpenStruct.new(:mname => 'foo', :name => 'bar')])

Also available in: Unified diff