summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/testlib.py
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2009-06-29 15:57:48 +0000
committerKim van der Riet <kpvdr@apache.org>2009-06-29 15:57:48 +0000
commit09057487cfbba725abb775931e9c9ed689d03b01 (patch)
treecdafcab9428308cb61311f2cca61635692133d45 /qpid/cpp/src/tests/testlib.py
parentf228749bfb0820ff05ef93e60c0082b1d5da9a32 (diff)
downloadqpid-python-09057487cfbba725abb775931e9c9ed689d03b01.tar.gz
Minor test env name cleanup which syncs with changes to store
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@789369 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/testlib.py')
-rw-r--r--qpid/cpp/src/tests/testlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/testlib.py b/qpid/cpp/src/tests/testlib.py
index 398eaf96cc..60f935b048 100644
--- a/qpid/cpp/src/tests/testlib.py
+++ b/qpid/cpp/src/tests/testlib.py
@@ -35,7 +35,7 @@ class TestBase(unittest.TestCase):
_storeLib = os.getenv("STORE_LIB")
_storeEnable = _storeLib != None # Must be True for durability to be enabled during the test
_qpiddExec = os.getenv("QPIDD_EXEC", "/usr/sbin/qpidd")
- _tempStoreDir = os.path.abspath(os.getenv("TMP_STORE_DIR", "/tmp/qpid"))
+ _tempStoreDir = os.path.abspath(os.getenv("TMP_DATA_DIR", "/tmp/qpid"))
"""Global message counter ensures unique messages"""
_msgCnt = 0
@@ -190,7 +190,7 @@ class TestBaseCluster(TestBase):
def createClusterNode(self, nodeNumber, clusterName):
"""Create a node and add it to the named cluster"""
if self._tempStoreDir == None:
- raise Exception("Environment variable TMP_STORE_DIR is not set")
+ raise Exception("Environment variable TMP_DATA_DIR is not set")
if self._clusterLib == None:
raise Exception("Environment variable LIBCLUSTER is not set")
name = "%s-%d" % (clusterName, nodeNumber)