diff options
| author | David Schmitt <david@schmitt.edv-bus.at> | 2007-11-11 10:16:37 +0100 |
|---|---|---|
| committer | David Schmitt <david@schmitt.edv-bus.at> | 2007-11-11 10:16:37 +0100 |
| commit | 59626cb3907d36e4fd762277daa76f523faf0908 (patch) | |
| tree | 4fbad46ae0150a2f2f8d7f1fd96f65b3b3622406 /test/network/handler | |
| parent | 3f583dc133ce50ae34bfc151474c6d4196f803ca (diff) | |
| download | puppet-59626cb3907d36e4fd762277daa76f523faf0908.tar.gz puppet-59626cb3907d36e4fd762277daa76f523faf0908.tar.xz puppet-59626cb3907d36e4fd762277daa76f523faf0908.zip | |
fix failing CA test, when testing with incomplete setup (no ssldir, no DNS)
3) Failure:
test_webxmlmix(TestBucket)
[./network/handler/bucket.rb:222:in `test_webxmlmix'
/home/david/Work/puppet/misspiggy/puppet-luke/test/lib/mocha/test_case_adapter.rb:19:in `__send__'
/home/david/Work/puppet/misspiggy/puppet-luke/test/lib/mocha/test_case_adapter.rb:19:in `run']:
Exception raised:
Class: <OpenSSL::SSL::SSLError>
Message: <"hostname was not match with the server certificate">
---Backtrace---
/usr/lib/ruby/1.8/openssl/ssl.rb:91:in `post_connection_check'
/usr/lib/ruby/1.8/net/http.rb:588:in `connect'
/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
/usr/lib/ruby/1.8/net/http.rb:548:in `start'
/home/david/Work/puppet/misspiggy/puppet-luke/lib/puppet/network/xmlrpc/client.rb:141:in `start'
/home/david/Work/puppet/misspiggy/puppet-luke/lib/puppet/network/client.rb:95:in `initialize'
/home/david/Work/puppet/misspiggy/puppet-luke/lib/puppet/network/client/dipper.rb:16:in `initialize'
./network/handler/bucket.rb:223:in `new'
./network/handler/bucket.rb:223:in `test_webxmlmix'
./network/handler/bucket.rb:222:in `test_webxmlmix'
/home/david/Work/puppet/misspiggy/puppet-luke/test/lib/mocha/test_case_adapter.rb:19:in `__send__'
/home/david/Work/puppet/misspiggy/puppet-luke/test/lib/mocha/test_case_adapter.rb:19:in `run'
---------------
Diffstat (limited to 'test/network/handler')
| -rwxr-xr-x | test/network/handler/bucket.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/network/handler/bucket.rb b/test/network/handler/bucket.rb index 6b28fdb72..d72206e29 100755 --- a/test/network/handler/bucket.rb +++ b/test/network/handler/bucket.rb @@ -214,6 +214,7 @@ class TestBucket < Test::Unit::TestCase FileUtils.mkdir_p(tmpdir) Puppet[:autosign] = true + Puppet[:certname] = "localhost" client = nil port = Puppet[:masterport] |
