diff options
author | Martin Ritchie <ritchiem@apache.org> | 2009-04-13 11:46:57 +0000 |
---|---|---|
committer | Martin Ritchie <ritchiem@apache.org> | 2009-04-13 11:46:57 +0000 |
commit | e922d53732afee03c59f57633fea513b2cd4f84c (patch) | |
tree | 06cf72a9fefc0cd9159b872614bdd943d7f2749c | |
parent | b5e656e4135a2c879512e4be996bc405135eb287 (diff) | |
download | qpid-python-e922d53732afee03c59f57633fea513b2cd4f84c.tar.gz |
TestIoSession: default address and port to avoid illegal arguments when creating an address.
merged from trunk r743306
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-fix@764419 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/java/broker/src/test/java/org/apache/qpid/server/protocol/TestIoSession.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/broker/src/test/java/org/apache/qpid/server/protocol/TestIoSession.java b/qpid/java/broker/src/test/java/org/apache/qpid/server/protocol/TestIoSession.java index 52c625ffd9..c449135bd2 100644 --- a/qpid/java/broker/src/test/java/org/apache/qpid/server/protocol/TestIoSession.java +++ b/qpid/java/broker/src/test/java/org/apache/qpid/server/protocol/TestIoSession.java @@ -38,8 +38,8 @@ import java.util.concurrent.ConcurrentHashMap; public class TestIoSession implements IoSession { private final ConcurrentMap attributes = new ConcurrentHashMap(); - private String _address; - private int _port; + private String _address = "127.0.0.1"; + private int _port = 1; public TestIoSession() { |