Allow to set run_validation to check SSH

This is neccessary to test compute platform functionality

Change-Id: I5edc8c2a33c29c64dc2ff49300b550f145415185
This commit is contained in:
Evgeny Antyshev 2017-03-09 13:02:05 +00:00
parent 1f0a5e0040
commit 1cd6bb57c6
2 changed files with 5 additions and 0 deletions

View File

@ -88,6 +88,8 @@
# Defaults to undef
# [*image_alt_ssh_user*]
# Defaults to undef
# [*run_ssh*]
# Defaults to false
# [*flavor_ref*]
# Defaults to undef
# [*flavor_ref_alt*]
@ -275,6 +277,7 @@ class tempest(
$flavor_ref = undef,
$flavor_ref_alt = undef,
$compute_build_interval = undef,
$run_ssh = false,
# whitebox
$whitebox_db_uri = undef,
# testing features that are supported
@ -481,6 +484,7 @@ class tempest(
'compute/resize_available': value => $resize_available;
'compute/build_interval': value => $compute_build_interval;
'validation/image_ssh_user': value => $image_ssh_user;
'validation/run_validation': value => $run_ssh;
'identity/admin_role': value => $admin_role;
'identity/alt_password': value => $alt_password, secret => true;
'identity/alt_project_name': value => $alt_project_name_real;

View File

@ -216,6 +216,7 @@ describe 'tempest' do
is_expected.to contain_tempest_config('compute/build_interval').with(:value => nil)
is_expected.to contain_tempest_config('compute-feature-enabled/attach_encrypted_volume').with(:value => false)
is_expected.to contain_tempest_config('validation/image_ssh_user').with(:value => nil)
is_expected.to contain_tempest_config('validation/run_validation').with(:value => false)
is_expected.to contain_tempest_config('identity/admin_role').with(:value => nil)
is_expected.to contain_tempest_config('identity/auth_version').with(:value => 'v2')
is_expected.to contain_tempest_config('identity/alt_password').with(:value => nil)