test/integration_helper.rb in knife-solo-0.4.3 vs test/integration_helper.rb in knife-solo-0.5.0
- old
+ new
@@ -9,7 +9,7 @@
require 'support/loggable'
require 'support/ec2_runner'
require 'support/integration_test'
-MiniTest::Parallel.processor_count = 5
+MiniTest::Parallel.processor_count = Dir[$base_dir.join('integration', '*.rb')].size
MiniTest::Unit.runner = EC2Runner.new