summaryrefslogtreecommitdiff
path: root/qpid/python/tests/framer.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-06-16 23:27:54 +0000
committerRafael H. Schloming <rhs@apache.org>2008-06-16 23:27:54 +0000
commit032a0103e4d168f7856fc7cb26a49675a56b1ba6 (patch)
treec0093db3cbb267afce6db851f28e0371e87120d5 /qpid/python/tests/framer.py
parent4d9b122efd40ea20ceb4dd9927cb0e0af1a2ed96 (diff)
downloadqpid-python-032a0103e4d168f7856fc7cb26a49675a56b1ba6.tar.gz
QPID-1143: added buffering, we now only issue one write per assembly
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@668345 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/tests/framer.py')
-rw-r--r--qpid/python/tests/framer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/python/tests/framer.py b/qpid/python/tests/framer.py
index ea2e04e954..05bb467bbe 100644
--- a/qpid/python/tests/framer.py
+++ b/qpid/python/tests/framer.py
@@ -37,6 +37,7 @@ class FramerTest(TestCase):
while True:
frame = conn.read_frame()
conn.write_frame(frame)
+ conn.flush()
except Closed:
pass
@@ -60,6 +61,7 @@ class FramerTest(TestCase):
c.write_frame(Frame(0, 1, 2, 3, "IS"))
c.write_frame(Frame(0, 1, 2, 3, "A"))
c.write_frame(Frame(LAST_FRM, 1, 2, 3, "TEST"))
+ c.flush()
f = c.read_frame()
assert f.flags & FIRST_FRM