From: Georg Kunz Date: Fri, 23 Feb 2018 11:34:26 +0000 (+0100) Subject: Fixing return value in tempest test suite X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=e66856ba6b9275582aa4fc370d2b9abf48b5381f;p=sdnvpn.git Fixing return value in tempest test suite The result processing framework of the SDNVPN project expects "FAIL" as value for failed sub-tests to determine the overall result. The value returned by the tempest sub-tests was "FAILED", causing incorrect reporting to Functest. Change-Id: I320e6f1fb1fc7ee540813e454484b11bd5b227b2 Signed-off-by: Georg Kunz (cherry picked from commit 97cff3c409ffff5abfbb341eff07a00c4f353941) --- diff --git a/sdnvpn/test/functest/tempest.py b/sdnvpn/test/functest/tempest.py index 5fca8cb..d34af0b 100644 --- a/sdnvpn/test/functest/tempest.py +++ b/sdnvpn/test/functest/tempest.py @@ -80,7 +80,7 @@ def main(): if int(failed) == 0: status = "PASS" else: - status = "FAILED" + status = "FAIL" return {"status": status, "details": results} except: