summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-03-22 20:07:17 +0000
committerAlan Conway <aconway@apache.org>2010-03-22 20:07:17 +0000
commit1dca20b99280fa4a22b30d6b8cf6056d4e30b7c0 (patch)
treeec316629ae20b8ddd74eb56a511486209b33dc42 /python
parent82e0ea671ff37b4966a84f150401ed3fd193b9cc (diff)
downloadqpid-python-1dca20b99280fa4a22b30d6b8cf6056d4e30b7c0.tar.gz
Minor improvements to brokertest.py.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926300 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r--python/qpid/brokertest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/qpid/brokertest.py b/python/qpid/brokertest.py
index 26b46ad468..25642d0c88 100644
--- a/python/qpid/brokertest.py
+++ b/python/qpid/brokertest.py
@@ -178,6 +178,7 @@ class Popen(popen2.Popen3):
def stop(self): # Clean up at end of test.
self.drain()
+ self.stdin.close()
if self.expect == EXPECT_UNKNOWN:
try: self.kill() # Just make sure its dead
except: pass
@@ -266,7 +267,7 @@ class Broker(Popen):
cmd += ["--data-dir", self.datadir]
Popen.__init__(self, cmd, expect, drain=False)
test.cleanup_stop(self)
- self._host = "localhost"
+ self._host = "127.0.0.1"
log.debug("Started broker %s (%s, %s)" % (self.name, self.pname, self.log))
self._log_ready = False