Fixing return value in tempest test suite 15/52515/1
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 11:34:26 +0000 (12:34 +0100)
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>
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: