diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-08-26 16:53:41 +0200 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-08-30 07:07:51 +0000 |
commit | a13f30f3c81a71b49f9aa1f23d0606ab24eaec93 (patch) | |
tree | dc52dd891e11f1385e2303d9913b32c87ebbb570 /ci | |
parent | 5881c593a11bcb9b73a8c3189c1cd2a33788be59 (diff) |
Set env vars as mandatory to push to DB
Now env vars are mandatory in push_results_to_db. It avoids testing
programs to check them even if they are useless from their points of
view.
The related getters aren't removed to help debugging via
logger_test_results which could be run without report.
Change-Id: Iadb94319529f5ec4230fb62042511948183b93ed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 66334bc798c25d5769f92f2a6292daaf6220da79)
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/exec_test.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ci/exec_test.sh b/ci/exec_test.sh index 20f7c2d4f..7c4b3578e 100755 --- a/ci/exec_test.sh +++ b/ci/exec_test.sh @@ -78,12 +78,7 @@ function run_test(){ ;; "odl") odl_tests - if [[ "$report" == "-r" && - -n "$DEPLOY_SCENARIO" && "$DEPLOY_SCENARIO" != "none" && - -n "$INSTALLER_TYPE" && "$INSTALLER_TYPE" != "none" ]] && - env | grep NODE_NAME > /dev/null; then - args=-p - fi + [[ "$report" == "-r" ]] && args=-p ${FUNCTEST_REPO_DIR}/testcases/Controllers/ODL/OpenDaylightTesting.py \ --keystoneip $keystone_ip --neutronip $neutron_ip \ --osusername ${OS_USERNAME} --ostenantname ${OS_TENANT_NAME} \ |