summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/src/tests/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/testlib.py b/cpp/src/tests/testlib.py
index 60f935b048..1402ba792c 100644
--- a/cpp/src/tests/testlib.py
+++ b/cpp/src/tests/testlib.py
@@ -120,7 +120,7 @@ class TestBase(unittest.TestCase):
try:
ret = os.spawnl(os.P_WAIT, self._qpiddExec, self._qpiddExec, "--port=%d" % nodeTuple[self.PORT], "--quit")
if ret != 0:
- raise Exception("stopBroker(): port=%d: qpidd -q returned %d" % (port, ret))
+ raise Exception("stopBroker(): port=%d: qpidd -q returned %d" % (nodeTuple[self.PORT], ret))
try:
os.waitpid(nodeTuple[self.PID], 0)
except: