Project

General

Profile

Actions

Bug #23108

closed

hammer throughs error on running `rake test`

Added by Rahul Bajaj about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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!

Actions #1

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
Actions #2

Updated by Rahul Bajaj about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF