Bug #2923

Test Failed: Mocha::ExpectationError in 'Puppet::SSL::Host when waiting for a cert should sleep and retry after failures saving the CSR if waitforcert is enabled'

Added by James Turnbull 9 months ago. Updated 9 months ago.

Status:Closed Start:12/12/2009
Priority:Normal Due date:
Assignee:James Turnbull % Done:

0%

Category:testing
Target version:0.25.2
Affected version:0.25.1 Branch:http://github.com/jes5199/puppet/tree/ticket/0.25.x/2923
Keywords:
Votes: 0

Description

6)
Mocha::ExpectationError in 'Puppet::SSL::Host when waiting for a cert should sleep and retry after failures saving the CSR if waitforcert is enabled'
not all expectations were satisfied
unsatisfied expectations:
- expected exactly twice, already invoked once: #.generate(any_parameters)
satisfied expectations:
- expected exactly once, already invoked once: #.sleep(1)
- expected exactly twice, already invoked twice: #.certificate(any_parameters)

./spec/unit/ssl/host.rb:664:
/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'

History

Updated by James Turnbull 9 months ago

Actually I suspect this failure is also related:

5)
Mocha::ExpectationError in 'Puppet::SSL::Host when waiting for a cert should catch and log errors during CSR saving'
not all expectations were satisfied
unsatisfied expectations:
- expected exactly twice, already invoked once: #.generate(any_parameters)
satisfied expectations:
- allowed any number of times, already invoked once: #.sleep(any_parameters)
- expected exactly twice, already invoked twice: #.certificate(any_parameters)

./spec/unit/ssl/host.rb:657:
/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'

Updated by Markus Roberts 9 months ago

  • Status changed from Unreviewed to Investigating
  • Target version set to 0.25.2

Updated by Jesse Wolfe 9 months ago

  • Assignee set to Jesse Wolfe

Updated by Jesse Wolfe 9 months ago

  • Status changed from Investigating to Ready for Testing
  • Branch set to http://github.com/jes5199/puppet/tree/ticket/0.25.x/2923

The mocks no longer matched what the code was doing

Updated by Markus Roberts 9 months ago

  • Assignee changed from Jesse Wolfe to James Turnbull

Updated by James Turnbull 9 months ago

  • Status changed from Ready for Testing to Closed

Pushed in commit:“b6f4291cf4be7fd06839415e818796d47e89cf35” in branch 0.25.x

Also available in: Atom PDF