Issue #5225 has been reported by Markus Roberts.

----------------------------------------
Bug #5225: Spontanious test failure (daylight savings?)
https://projects.puppetlabs.com/issues/5225

Author: Markus Roberts
Status: Accepted
Priority: Low
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.3rc2
Keywords: 
Branch: 


Yesterday I was repeatedly getting the following test failure in 
spec/unit/type/schedule_spec.rb:

<pre>
1)
'Puppet::Type::Schedule Puppet::Type::Schedule when matching daily by number 
should match if the times are one minute apart and the current minute and hour 
are 0' FAILED
expected false to be true
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/expectations/fail_with.rb:41:in 
`fail_with'
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/expectations/handler.rb:21:in 
`handle_matcher'
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/expectations/extensions/kernel.rb:27:in
 `should'
spec/unit/type/schedule_spec.rb:239:
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in 
`instance_eval'
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in 
`execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in 
`execute'
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/markus/projects/puppet/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/markus/projects/puppet/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/markus/projects/puppet/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/runner.rb:61:in `run'
/var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/runner.rb:45:
spec/unit/type/schedule_spec.rb:42:
</pre>

Today, I do not get the failure on the same copy of 2.6.x.  Thus it worked 
Saturday, failed consistently yesterday, and then works again today.

I have no explanation but I note that yesterday was Sunday, Nov 7 2010, the 
first day of daylight savings time.




-- 
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://projects.puppetlabs.com/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.

Reply via email to