Removed old test:isolated in favor of new one.

Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
Ryan Davis 2019-09-11 18:10:28 -07:00
parent 5e7c6d87e6
commit 2cb05f2c66

View file

@ -86,19 +86,6 @@ namespace :test do
puts missing.sort
end
task :isolated do
failures = Dir[*GLOBS]
failures.reject! do |file|
system(Gem.ruby, "-Ilib:test", file)
end
unless failures.empty?
puts "These test files failed:\n"
puts failures
raise "broken tests..."
end
end
# rubocop:disable Style/BlockDelimiters,Layout/ExtraSpacing,Lint/AssignmentInCondition
def n_threads_run(n_workers, jobs)
@ -118,7 +105,7 @@ namespace :test do
}.each(&:join)
end
task :isolated2 do
task :isolated do
require "fileutils"
require "thread"