From 64ecb4252be0f5cf84373bc78f833aad0d998095 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Mon, 16 Jun 2008 23:27:54 +0000 Subject: 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 --- python/tests/framer.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/tests') 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 -- cgit v1.2.1