Issue #2505 has been reported by Markus Roberts.
----------------------------------------
Bug #2505: Sporadic test failures from spec/unit/node/environment.rb
http://projects.reductivelabs.com/issues/2505
Author: Markus Roberts
Status: Accepted
Priority: Normal
Assigned to: Markus Roberts
Category: testing
Target version:
Complexity: Unknown
Affected version: 0.25.0rc1
Keywords:
The /spec/unit/node/environment.rb tests fail if run near the
spec/unit/util/loadedfile.rb tests.
<pre>
1)
'Puppet::Node::Environment should use the filetimeout for the ttl for the
modulepath' FAILED
expected: -1,
got: 15 (using ==)
./spec/unit/node/environment.rb:18:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'
2)
'Puppet::Node::Environment should use the filetimeout for the ttl for the
module list' FAILED
expected: -1,
got: 15 (using ==)
./spec/unit/node/environment.rb:22:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'
</pre>
The simplest known way to reproduce this problem is:
<pre>
touch spec/unit/util/loadedfile.rb
/usr/bin/ruby1.8 -I/usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/lib
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/bin/spec spec/unit/util/loadedfile.rb
spec/unit/node/environment.rb -t 60 --format s --loadby mtime
</pre>
--
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
-~----------~----~----~----~------~----~------~--~---