Merge "change tests to use SLES11SP3 instead of openSUSE 12.3"
This commit is contained in:
commit
a3591c1e5b
@ -3,9 +3,9 @@ require_relative 'spec_helper'
|
||||
|
||||
describe 'openstack-metering::agent-central' do
|
||||
before { metering_stubs }
|
||||
describe 'opensuse' do
|
||||
describe 'suse' do
|
||||
before do
|
||||
@chef_run = ::ChefSpec::Runner.new ::OPENSUSE_OPTS
|
||||
@chef_run = ::ChefSpec::Runner.new ::SUSE_OPTS
|
||||
@chef_run.converge 'openstack-metering::agent-central'
|
||||
end
|
||||
|
@ -3,9 +3,9 @@ require_relative 'spec_helper'
|
||||
|
||||
describe 'openstack-metering::agent-compute' do
|
||||
before { metering_stubs }
|
||||
describe 'opensuse' do
|
||||
describe 'suse' do
|
||||
before do
|
||||
@chef_run = ::ChefSpec::Runner.new ::OPENSUSE_OPTS
|
||||
@chef_run = ::ChefSpec::Runner.new ::SUSE_OPTS
|
||||
@chef_run.converge 'openstack-metering::agent-compute'
|
||||
end
|
||||
|
@ -3,9 +3,9 @@ require_relative 'spec_helper'
|
||||
|
||||
describe 'openstack-metering::api' do
|
||||
before { metering_stubs }
|
||||
describe 'opensuse' do
|
||||
describe 'suse' do
|
||||
before do
|
||||
@chef_run = ::ChefSpec::Runner.new ::OPENSUSE_OPTS
|
||||
@chef_run = ::ChefSpec::Runner.new ::SUSE_OPTS
|
||||
@chef_run.converge 'openstack-metering::api'
|
||||
end
|
||||
|
@ -3,9 +3,9 @@ require_relative 'spec_helper'
|
||||
|
||||
describe 'openstack-metering::collector' do
|
||||
before { metering_stubs }
|
||||
describe 'opensuse' do
|
||||
describe 'suse' do
|
||||
before do
|
||||
@chef_run = ::ChefSpec::Runner.new ::OPENSUSE_OPTS
|
||||
@chef_run = ::ChefSpec::Runner.new ::SUSE_OPTS
|
||||
@chef_run.converge 'openstack-metering::collector'
|
||||
end
|
||||
|
@ -3,9 +3,9 @@ require_relative 'spec_helper'
|
||||
|
||||
describe 'openstack-metering::common' do
|
||||
before { metering_stubs }
|
||||
describe 'opensuse' do
|
||||
describe 'suse' do
|
||||
before do
|
||||
@chef_run = ::ChefSpec::Runner.new ::OPENSUSE_OPTS
|
||||
@chef_run = ::ChefSpec::Runner.new ::SUSE_OPTS
|
||||
@chef_run.converge 'openstack-metering::common'
|
||||
end
|
||||
|
@ -4,9 +4,9 @@ require 'chefspec/berkshelf'
|
||||
require 'chef/application'
|
||||
|
||||
::LOG_LEVEL = :fatal
|
||||
::OPENSUSE_OPTS = {
|
||||
platform: 'opensuse',
|
||||
version: '12.3',
|
||||
::SUSE_OPTS = {
|
||||
platform: 'suse',
|
||||
version: '11.03',
|
||||
log_level: ::LOG_LEVEL
|
||||
}
|
||||
::REDHAT_OPTS = {
|
||||
|
Loading…
Reference in New Issue
Block a user