Bug #23108
closedhammer throughs error on running `rake test`
Description
While running the command `rake test` an error is encountered :
Coverage report generated for MiniTest to /home/vagrant/coverage. 5698 / 13218 LOC (43.11%) covered.
/home/vagrant/hammer-cli-foreman/lib/hammer_cli_foreman/logger.rb:2:in `<module:HammerCLIForeman>': undefined method `add_data_filter' for Logging::LogEvent:Class (NoMethodError)
from /home/vagrant/hammer-cli-foreman/lib/hammer_cli_foreman/logger.rb:1:in `<top (required)>'
from /home/vagrant/hammer-cli-foreman/lib/hammer_cli_foreman.rb:22:in `require'
from /home/vagrant/hammer-cli-foreman/lib/hammer_cli_foreman.rb:22:in `<module:HammerCLIForeman>'
from /home/vagrant/hammer-cli-foreman/lib/hammer_cli_foreman.rb:5:in `<top (required)>'
from /home/vagrant/hammer-cli-foreman/test/test_helper.rb:27:in `require'
from /home/vagrant/hammer-cli-foreman/test/test_helper.rb:27:in `<top (required)>'
from /home/vagrant/hammer-cli-foreman/test/functional/test_helper.rb:1:in `require'
from /home/vagrant/hammer-cli-foreman/test/functional/test_helper.rb:1:in `<top (required)>'
from /home/vagrant/hammer-cli-foreman/test/functional/commands/list_test.rb:1:in `require'
from /home/vagrant/hammer-cli-foreman/test/functional/commands/list_test.rb:1:in `<top (required)>'
from /home/vagrant/.gem/ruby/gems/rake-10.1.1/lib/rake/rake_test_loader.rb:15:in `require'
from /home/vagrant/.gem/ruby/gems/rake-10.1.1/lib/rake/rake_test_loader.rb:15:in `block in <main>'
from /home/vagrant/.gem/ruby/gems/rake-10.1.1/lib/rake/rake_test_loader.rb:4:in `select'
from /home/vagrant/.gem/ruby/gems/rake-10.1.1/lib/rake/rake_test_loader.rb:4:in `<main>'
rake aborted!
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/364 added
Updated by Rahul Bajaj about 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-foreman|cd8b86f1423a4b61e83c18bcf5d95dfa5b732a78.