Issue #2876 has been updated by James Turnbull.
Status changed from Ready for Testing to Code Insufficient
I've tested this and get the following failures:
<pre>
1)
'Puppet::Node::Environment when modeling a specific environment.modules should
create modules with the correct environment' FAILED
expected: "testing",
got: #<Puppet::Node::Environment:0x7f25941186e8 @name=:testing,
@value_cache={:modules=>[#<Puppet::Module:0x7f2594115808
@environment=#<Puppet::Node::Environment:0x7f25941186e8 ...>, @name="foo">]},
@cache_timestamp=Wed Dec 16 17:57:50 +1100 2009,
@mocha=#<Puppet::Node::Environment:0x7f25941186e8>,
@ttl_timestamps={:modules=>Wed Dec 16 17:57:50 +1100 2009}> (using ==)
./spec/unit/node/environment.rb:174:
./spec/unit/node/environment.rb:174:in `each'
./spec/unit/node/environment.rb:174:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
2)
'Puppet::Type::File when writing files should fail if no backup can be
performed' FAILED
expected: "bar\n",
got: "foo" (using ==)
./spec/integration/type/file.rb:54:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
Finished in 3.884749 seconds
</pre>
----------------------------------------
Bug #2876: Test isolation: spec/unit/indirector/catalog/compiler.rb changes
behaviour when run with certain other tests
http://projects.reductivelabs.com/issues/2876
Author: Markus Roberts
Status: Code Insufficient
Priority: Low
Assigned to: Jesse Wolfe
Category: testing
Target version: 0.25.2
Affected version: 0.25.1
Keywords:
Branch: http://github.com/jes5199/puppet/tree/ticket/0.25.x/2876
To reproduce:
ruby spec/unit/indirector/node/plain.rb -t 60 --format s --loadby mtime
produces a single failure ("should extract and save any facts from the
request") but if run before spec/unit/indirector/catalog/compiler.rb with:
touch spec/unit/indirector/node/plain.rb
ruby spec/unit/indirector/node/plain.rb
spec/unit/indirector/catalog/compiler.rb -t 60 --format s --loadby mtime
the test passes but the message:
Could not retrieve netmask: undefined method `[]' for nil:NilClass
is printed. Similar interaction can be seen with spec/unit/node.rb and with
spec/integration/indirector/node/ldap.rb.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.