remove rake tasks for runner tests

they are now found in train
This commit is contained in:
Dominik Richter 2015-10-15 14:36:34 +02:00
parent dcb0b8e557
commit 6a51a5be00
2 changed files with 1 additions and 12 deletions

View file

@ -37,15 +37,4 @@ namespace :test do
return if tests.empty?
sh(Gem.ruby, 'test/docker_test.rb', *tests)
end
task :docker_runner do
path = File.join(File.dirname(__FILE__), 'test', 'runner')
sh('sh', '-c', "cd #{path} && config=test-runner.yaml ruby -I ../../lib docker_test.rb tests/*")
end
task :local_runner do
concurrency = ENV['CONCURRENCY'] || 4
path = File.join(File.dirname(__FILE__), 'test', 'runner')
sh('sh', '-c', "cd #{path} && kitchen test -c #{concurrency}")
end
end

View file

@ -12,7 +12,7 @@ module Vulcano
def initialize(profile_id, backend, profile_registry: {}, only_ifs: [])
if backend.nil?
fail 'ProfileContext is initiated with a backend == nil. ' \
'This is a backend error which must be fixed upstream.'
'This is a backend error which must be fixed upstream.'
end
@profile_id = profile_id