Project

General

Profile

Bug #7311 » 0001-Enforce-localhost-for-DRb-tests.patch

Fix the test suite by enforcing localhost - vo.x (Vit Ondruch), 11/08/2012 11:03 PM

View differences:

test/drb/ut_array.rb
it
end
DRb.start_service(nil, [1, 2, 'III', 4, "five", 6])
DRb.start_service('druby://localhost:0', [1, 2, 'III', 4, "five", 6])
es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end
test/drb/ut_array_drbssl.rb
config[:SSLCertName] =
[ ["C","JP"], ["O","Foo.DRuby.Org"], ["CN", "Sample"] ]
DRb.start_service('drbssl://:0', [1, 2, 'III', 4, "five", 6], config)
DRb.start_service('drbssl://localhost:0', [1, 2, 'III', 4, "five", 6], config)
es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end
test/drb/ut_eq.rb
it
end
DRb.start_service('druby://:0', Bar.new)
DRb.start_service('druby://localhost:0', Bar.new)
es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end
(1-1/2)