Project

General

Profile

Actions

Bug #2514

closed

Tests failing due to new minitest version

Added by Dominic Cleal about 11 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Packaging
Target version:
Difficulty:
Triaged:
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

Actions #1

Updated by Dominic Cleal about 11 years ago

  • Status changed from Assigned to Ready For Testing
Actions #2

Updated by Dominic Cleal about 11 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Dominic Cleal about 11 years ago

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

Updated by Greg Sutcliffe almost 6 years ago

  • Target version deleted (1.2.0)
Actions

Also available in: Atom PDF