From: Shota Fukumori <sorah@...>
Date: 2012-03-13T11:15:24+09:00
Subject: [ruby-core:43258] [ruby-trunk - Bug #4814][Rejected] minitest 2.2.x and test/unit do not get along


Issue #4814 has been updated by Shota Fukumori.

Status changed from Feedback to Rejected

Rejecting because of no feedback and I can't reproduce in my environment.

(if this issue is still reproducible, please reopen)
----------------------------------------
Bug #4814: minitest 2.2.x and test/unit do not get along
https://bugs.ruby-lang.org/issues/4814

Author: Ryan Davis
Status: Rejected
Priority: Normal
Assignee: Shota Fukumori
Category: 
Target version: 
ruby -v: -


TestParallel tests are broken on trunk after my update of minitest (+ your patch to test/unit to get tests running).

 32) Failure:
test_jobs_status(TestParallel::TestParallel) [/Users/ryan/Work/svn/ruby/ruby/test/testunit/test_parallel.rb:176]:
Expected /\d+=test_(first|second|third|forth) */ to match "Run options: -j t2 --jobs-status\n\n# Running ptests:\n\n/Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:495:in `ensure in _run_parallel': undefined method `each' for nil:NilClass (NoMethodError)\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:552:in `_run_parallel'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:561:in `_run_suites'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:746:in `_run_anything'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/test/testunit/tests_for_parallel/misc.rb:14:in `run_tests'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:896:in `block in _run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:895:in `each'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:895:in `_run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:884:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:21:in `run'\n\tfrom /Users/ryan/Work/s
 vn/ruby/ruby/lib/test/unit.rb:609:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:613:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/test/testunit/tests_for_parallel/runner.rb:7:in `<main>'\n".

 33) Failure:
test_no_retry_option(TestParallel::TestParallel) [/Users/ryan/Work/svn/ruby/ruby/test/testunit/test_parallel.rb:170]:
Expected /^ +\d+\) Failure:\nptest_fail_at_worker\(TestD\)/ to match "Run options: -j t2 --no-retry\n\n# Running ptests:\n\n/Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:495:in `ensure in _run_parallel': undefined method `each' for nil:NilClass (NoMethodError)\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:552:in `_run_parallel'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:561:in `_run_suites'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:746:in `_run_anything'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/test/testunit/tests_for_parallel/misc.rb:14:in `run_tests'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:896:in `block in _run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:895:in `each'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:895:in `_run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:884:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:21:in `run'\n\tfrom /Users/rya
 n/Work/svn/ruby/ruby/lib/test/unit.rb:609:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:613:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/test/testunit/tests_for_parallel/runner.rb:7:in `<main>'\n".

 34) Failure:
test_should_retry_failed_on_workers(TestParallel::TestParallel) [/Users/ryan/Work/svn/ruby/ruby/test/testunit/test_parallel.rb:162]:
Expected /^Retrying\.+$/ to match "Run options: -j t2\n\n# Running ptests:\n\n/Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:495:in `ensure in _run_parallel': undefined method `each' for nil:NilClass (NoMethodError)\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:552:in `_run_parallel'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:561:in `_run_suites'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:746:in `_run_anything'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/test/testunit/tests_for_parallel/misc.rb:14:in `run_tests'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:896:in `block in _run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:895:in `each'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:895:in `_run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:884:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:21:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:609:in `
 run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:613:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/test/testunit/tests_for_parallel/runner.rb:7:in `<main>'\n".

 35) Failure:
test_should_run_all_without_any_leaks(TestParallel::TestParallel) [/Users/ryan/Work/svn/ruby/ruby/test/testunit/test_parallel.rb:156]:
Expected /^\.*(\.SF\.*F|F\.*\.+SF)\.*$/ to match "Run options: -j t2\n\n# Running ptests:\n\n/Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:495:in `ensure in _run_parallel': undefined method `each' for nil:NilClass (NoMethodError)\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:552:in `_run_parallel'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:561:in `_run_suites'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:746:in `_run_anything'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/test/testunit/tests_for_parallel/misc.rb:14:in `run_tests'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:896:in `block in _run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:895:in `each'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:895:in `_run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/minitest/unit.rb:884:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:21:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/u
 nit.rb:609:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/lib/test/unit.rb:613:in `run'\n\tfrom /Users/ryan/Work/svn/ruby/ruby/test/testunit/tests_for_parallel/runner.rb:7:in `<main>'\n".



-- 
http://bugs.ruby-lang.org/