Bug #4727

Exec unit test failed

Added by James Turnbull over 1 year ago. Updated about 1 year ago.

Status:Accepted Start date:09/04/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:testing
Target version:-
Affected Puppet version: Branch:
Keywords:
Votes: 0

Description


  1) Failure:
test_execthenfile(TestExec)
    [/home/james/src/puppet/test/lib/puppettest/support/utils.rb:99:in `run_events'
     /home/james/src/puppet/test/lib/puppettest/support/assertions.rb:49:in `assert_events'
     ./ral/type/exec.rb:480:in `test_execthenfile'
     /usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
     /usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run']:
Incorrect evaluate  events.
<[:executed_command, :mode_changed]> expected but was
<[:executed_command, :mode_changed, :mode_changed]>.

Looks like :mode_changed now runs twice for some reason?

History

Updated by James Turnbull over 1 year ago

  • Status changed from Unreviewed to Accepted
  • Target version set to 2.6.2

Updated by Paul Berry over 1 year ago

  • Target version changed from 2.6.2 to 69
  • Affected Puppet version deleted (2.6.1rc3)

Changing target version to 2.6.x on the grounds that this is a platform-specific test failure, and thus is unlikely to represent a real customer problem. We should fix it, but we don’t need to delay 2.6.2 in order to do so.

Updated by Nigel Kersten about 1 year ago

  • Target version deleted (69)

Also available in: Atom PDF