Fixing return value in tempest test suite 41/52541/1 stable/euphrates
authorGeorg Kunz <georg.kunz@ericsson.com>
Fri, 23 Feb 2018 11:34:26 +0000 (12:34 +0100)
committerGeorg Kunz <georg.kunz@ericsson.com>
Fri, 23 Feb 2018 19:08:15 +0000 (19:08 +0000)
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>
(cherry picked from commit 97cff3c409ffff5abfbb341eff07a00c4f353941)

sdnvpn/test/functest/tempest.py

index 5fca8cb..d34af0b 100644 (file)
@@ -80,7 +80,7 @@ def main():
         if int(failed) == 0:
             status = "PASS"
         else:
-            status = "FAILED"
+            status = "FAIL"
 
         return {"status": status, "details": results}
     except: