You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2015/01/28 05:37:11 UTC

[33/50] trafficserver-qa git commit: Actually call the environment.running() func

Actually call the environment.running() func


Project: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/commit/84280a83
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/tree/84280a83
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/diff/84280a83

Branch: refs/heads/master
Commit: 84280a83cbfa449e9c53c9fdbf21f6f6b302b20f
Parents: 5044dd4
Author: Thomas Jackson <ja...@gmail.com>
Authored: Wed Jan 14 15:57:32 2015 -0800
Committer: Thomas Jackson <ja...@gmail.com>
Committed: Wed Jan 14 15:57:32 2015 -0800

----------------------------------------------------------------------
 tsqa/test_cases.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver-qa/blob/84280a83/tsqa/test_cases.py
----------------------------------------------------------------------
diff --git a/tsqa/test_cases.py b/tsqa/test_cases.py
index 3fe70af..35319a8 100644
--- a/tsqa/test_cases.py
+++ b/tsqa/test_cases.py
@@ -35,6 +35,7 @@ class EnvironmentCase(unittest.TestCase):
 
         # get an environment
         cls.environment = cls.getEnv()
+        # TODO: better... I dont think this output is captured in each test run
         logging.info('Environment prefix is {0}'.format(cls.environment.layout.prefix))
 
         cfg_dir = os.path.join(cls.environment.layout.prefix, 'etc', 'trafficserver')
@@ -82,7 +83,7 @@ class EnvironmentCase(unittest.TestCase):
 
     @classmethod
     def tearDownClass(cls):
-        if not cls.environment.running:
+        if not cls.environment.running():
             raise Exception('ATS died during the test run')
         # stop ATS
         cls.environment.stop()