aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common/constants.py
diff options
context:
space:
mode:
authorRex Lee <limingjiang@huawei.com>2017-06-29 12:07:27 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-06-29 12:07:27 +0000
commit9ba594fa3f34d551d34abd7582281ce081924c67 (patch)
tree43e32e6d2a5ca9c09b47ef698f24abe784d8f6cc /yardstick/common/constants.py
parent8996240be14d6f7979a6ae02dd474b03d50e79d9 (diff)
parentda62008a0a98cb8793ea42827a7da5e149edd144 (diff)
Merge "Call core code directly in the API of run test case"
Diffstat (limited to 'yardstick/common/constants.py')
-rw-r--r--yardstick/common/constants.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yardstick/common/constants.py b/yardstick/common/constants.py
index f192a1b85..d445e86e6 100644
--- a/yardstick/common/constants.py
+++ b/yardstick/common/constants.py
@@ -81,6 +81,9 @@ SQLITE = 'sqlite:////tmp/yardstick.db'
API_SUCCESS = 1
API_ERROR = 2
+TASK_NOT_DONE = 0
+TASK_DONE = 1
+TASK_FAILED = 2
BASE_URL = 'http://localhost:5000'
ENV_ACTION_API = BASE_URL + '/yardstick/env/action'