diff options
author | Rafael H. Schloming <rhs@apache.org> | 2008-06-16 23:27:54 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2008-06-16 23:27:54 +0000 |
commit | 64ecb4252be0f5cf84373bc78f833aad0d998095 (patch) | |
tree | 52eb3e2824d3b7eb2dc7dc234107adad08330080 /python/tests/framer.py | |
parent | 3f23de2976509220a588be4a69469c9ee70e0789 (diff) | |
download | qpid-python-64ecb4252be0f5cf84373bc78f833aad0d998095.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/qpid@668345 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/tests/framer.py')
-rw-r--r-- | python/tests/framer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tests/framer.py b/python/tests/framer.py index ea2e04e954..05bb467bbe 100644 --- a/python/tests/framer.py +++ b/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 |