summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2018-02-23 12:34:26 +0100
committerGeorg Kunz <georg.kunz@ericsson.com>2018-02-23 12:34:26 +0100
commit97cff3c409ffff5abfbb341eff07a00c4f353941 (patch)
treec3726429da904c6e7dc9eef4f590c4577272c37d
parent45194eff156234cea416b94d7988a1ccf8a891e6 (diff)
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 <georg.kunz@ericsson.com>
-rw-r--r--sdnvpn/test/functest/tempest.py2
1 files changed, 1 insertions, 1 deletions
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: