make LS_QA_EXPERIMENTAL be LS_QA_EXPERIMENTAL_OS

Fixes #5506
This commit is contained in:
Pere Urbon-Bayes 2016-06-16 17:29:58 +02:00
parent 9a1bfcea94
commit df4ac4d12e
2 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ namespace :qa do
desc "Bootstrap all the VM's used for this tests"
task :setup, :platform do |t, args|
config = PlatformConfig.new
experimental = (ENV['LS_QA_EXPERIMENTAL'].to_s.downcase || "false") == "true"
experimental = (ENV['LS_QA_EXPERIMENTAL_OS'].to_s.downcase || "false") == "true"
machines = config.select_names_for(args[:platform], {"experimental" => experimental})
puts user_feedback_string_for("bootstraping", args[:platform], machines, {"experimental" => experimental})
@ -42,7 +42,7 @@ namespace :qa do
desc "Halt all VM's involved in the acceptance test round"
task :halt, :platform do |t, args|
config = PlatformConfig.new
experimental = (ENV['LS_QA_EXPERIMENTAL'].to_s.downcase || "false") == "true"
experimental = (ENV['LS_QA_EXPERIMENTAL_OS'].to_s.downcase || "false") == "true"
machines = config.select_names_for(args[:platform], {"experimental" => experimental})
puts user_feedback_string_for("halting", args[:platform], machines, {"experimental" => experimental})

View file

@ -15,7 +15,7 @@ RSpec.configure do |c|
end
platform = ENV['LS_TEST_PLATFORM'] || 'all'
experimental = (ENV['LS_QA_EXPERIMENTAL'].to_s.downcase || "false") == "true"
experimental = (ENV['LS_QA_EXPERIMENTAL_OS'].to_s.downcase || "false") == "true"
config = PlatformConfig.new
LOGSTASH_LATEST_VERSION = config.latest