Comment 13 for bug 861182

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Natty passes.
Lucid and Maverick pass but I sometimes get test failures in test_parse_line(TestCronParsedProvider) (via 'cd /usr/share/puppet-testsuite ; sudo rake unit'). I think this test may be racy, cause I have seen it in unpatched Maverick and patched Lucid. The failure (from Lucid) is:

  2) Failure:
test_parse_line(TestCronParsedProvider)
    [./ral/providers/cron/crontab.rb:76:in `assert_record_equal'
     ./ral/providers/cron/crontab.rb:123:in `test_parse_line'
     ./ral/providers/cron/crontab.rb:122:in `each'
     ./ral/providers/cron/crontab.rb:122:in `test_parse_line'
     /usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
     /usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run']:
not an instance of a hash in record for {:record_type=>:blank, :line=>""} in full match.
<nil> expected to be an instance of
<Hash> but was
<NilClass>.