Bug #2861
Test isolation: spec/unit/type/schedule.rb has a spurious failure if run after certain tests
| Status: | Closed | Start date: | 11/25/2009 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | testing | |||
| Target version: | - | |||
| Affected Puppet version: | 0.25.1 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
Running spec/unit/type/schedule.rb after certain tests, e.g. with:
touch spec/unit/indirector/file.rb
spec 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
History
Updated by Jesse Wolfe over 2 years ago
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.
Updated by Jesse Wolfe over 2 years ago
- Target version changed from 0.25.2 to 0.25.3
bumped to 0.25.3 due to poor reproducibility
Updated by Markus Roberts over 2 years ago
- Target version changed from 0.25.3 to 0.25.4
Updated by James Turnbull over 2 years ago
- Target version changed from 0.25.4 to 0.25.5
Updated by James Turnbull about 2 years ago
- Target version changed from 0.25.5 to 49
Updated by James Turnbull over 1 year ago
- Target version deleted (
49)
Updated by Joshua Lifton 5 months ago
- Assignee deleted (
Jesse Wolfe)
This issue was assigned to a former Puppet Labs employee. Adding back to the pool of unreviewed issues.
Updated by Ben Hughes 4 months ago
- Description updated (diff)
- Status changed from Accepted to Unreviewed
Updated by Luke Kanies 4 months ago
- Description updated (diff)
- Status changed from Unreviewed to Closed
Assuming this is fixed now.