Only run setup tempest once

No need to run it with each pass

Change-Id: Ie208be823147aad971825a30a29c5ce6eba204f6
This commit is contained in:
Mark Vanderwiel 2016-04-08 12:11:26 -05:00
parent 745f01e2cf
commit daadb4516e
1 changed files with 4 additions and 2 deletions

View File

@ -201,8 +201,10 @@ task :integration => [:create_key, :berks_vendor] do
puts "####### Pass #{i}"
# Kick off chef client in local mode, will converge OpenStack right on the gate job "in place"
sh %(sudo chef-client #{client_opts} -E allinone-#{@platform} -r 'role[allinone]')
_setup_tempest(client_opts)
_setup_local_network if i == 1
if i == 1
_setup_tempest(client_opts)
_setup_local_network
end
_run_basic_queries
_setup_cinder_volume
_run_nova_tests