Issue #2861 has been updated by Jesse Wolfe.
Hrm. It's not failing for me. Do you still see it? The test is using Time.now, so it might even be clock-dependent. ---------------------------------------- Bug #2861: Test isolation: spec/unit/type/schedule.rb has a spurious failure if run after certain tests http://projects.reductivelabs.com/issues/2861 Author: Markus Roberts Status: Accepted Priority: Low Assigned to: Jesse Wolfe Category: testing Target version: 0.25.2 Affected version: 0.25.1 Keywords: Branch: Running spec/unit/type/schedule.rb after certain tests, e.g. with: touch spec/unit/indirector/file.rb ruby spec/unit/indirector/file.rb spec/unit/type/schedule.rb -t 60 --format s --loadby mtime produces a spurious failure: - should match when the previous time is prior to the first day of this month (FAILED - #) The following tests (and possibly others) triger the problem: spec/integration/indirector/rest.rb spec/integration/parser/compiler.rb spec/unit/indirector/file.rb spec/unit/indirector/node/ldap.rb spec/unit/indirector/node/memory.rb spec/unit/indirector/rest.rb spec/unit/network/http/mongrel.rb spec/unit/network/http/webrick.rb spec/unit/provider/macauthorization.rb spec/unit/transaction/change.rb spec/unit/type/augeas.rb spec/unit/util/loadedfile.rb spec/unit/util/warnings.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.
