Project

General

Profile

Bug #2514

Tests failing due to new minitest version

Added by Dominic Cleal over 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Packaging
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

The proxy's develop branch tests are currently failing, e.g.

Warning: you should require 'minitest/autorun' instead.
From /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:3:in `require'
/usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:3:in `<top (required)>'
/var/lib/workspace/workspace/test_proxy_develop/puppet/3.0/ruby/1.9.3/test/test_helper.rb:1:in `require'
/var/lib/workspace/workspace/test_proxy_develop/puppet/3.0/ruby/1.9.3/test/test_helper.rb:1:in `<top (required)>'
/var/lib/workspace/workspace/test_proxy_develop/puppet/3.0/ruby/1.9.3/test/bmc_api_shell_test.rb:1:in `require'
/var/lib/workspace/workspace/test_proxy_develop/puppet/3.0/ruby/1.9.3/test/bmc_api_shell_test.rb:1:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_proxy_develop-1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:15:in `require'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_proxy_develop-1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:15:in `block in <main>'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_proxy_develop-1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
/usr/local/rvm/gems/ruby-1.9.3-p392@test_proxy_develop-1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
MiniTest::Unit::TestCase is now Minitest::Test. From /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit/testcase.rb:8:in `<module:Unit>'
/usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:328:in `autorun': uninitialized class variable @@installed_at_exit in Test::Unit::Runner (NameError)

http://ci.theforeman.org/job/test_proxy_develop/puppet=3.0,ruby=1.9.3/lastBuild/console

Associated revisions

Revision 585e06c2 (diff)
Added by Dominic Cleal over 7 years ago

fixes #2514 - lock minitest to 4.7

Revision 4657fc70 (diff)
Added by Dominic Cleal over 7 years ago

fixes #2514 - lock minitest to 4.7
(cherry picked from commit 585e06c2fa2f8cc05879efb1bf33a1dc30c01b69)

History

#1 Updated by Dominic Cleal over 7 years ago

  • Status changed from Assigned to Ready For Testing

#2 Updated by Dominic Cleal over 7 years ago

  • Priority changed from Normal to High

#3 Updated by Dominic Cleal over 7 years ago

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

#4 Updated by Greg Sutcliffe over 2 years ago

  • Target version deleted (1.2.0)

Also available in: Atom PDF