tests: test-swift-upgrades.sh: Remove the exit trap

We are already collecting logs as part of the post-run playbook so we
don't need to do that as part of the exit trap. This avoid collecting
and compressing the logs twice.

Change-Id: Iacbdd102e8889ae09ee2c93e300a87ba4ffc4842
(cherry picked from commit a7b4d86599)
This commit is contained in:
Markos Chandras 2017-12-16 13:34:26 +00:00 committed by Jesse Pretorius (odyssey4me)
parent 899f7027ce
commit bc88e7ae34
1 changed files with 0 additions and 7 deletions

View File

@ -66,18 +66,11 @@ function execute_ansible_playbook {
}
function gate_job_exit_tasks {
source "${COMMON_TESTS_PATH}/test-log-collect.sh"
}
## Main ----------------------------------------------------------------------
# Ensure that the Ansible environment is properly prepared
source "${COMMON_TESTS_PATH}/test-ansible-env-prep.sh"
# Set gate job exit traps, this is run regardless of exit state when the job finishes.
trap gate_job_exit_tasks EXIT
# Prepare environment for the initial deploy of previous Swift
# No upgrading or testing is done yet.
export ANSIBLE_LOG_PATH="${ANSIBLE_LOG_DIR}/ansible-execute-swift-install.log"