[Telepathy-commits] [telepathy-gabble/master] set a ridiculously small block size to stress test IBB buffering

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Mar 9 10:40:33 PDT 2009


---
 tests/twisted/bytestream.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/bytestream.py b/tests/twisted/bytestream.py
index e1aa9eb..e960097 100644
--- a/tests/twisted/bytestream.py
+++ b/tests/twisted/bytestream.py
@@ -372,7 +372,8 @@ class BytestreamIBB(Bytestream):
         iq['from'] = self.initiator
         open = iq.addElement((ns.IBB, 'open'))
         open['sid'] = self.stream_id
-        open['block-size'] = '4096'
+        # set a ridiculously small block size to stress test IBB buffering
+        open['block-size'] = '1'
         self.stream.send(iq)
 
         events_before = self.q.expect_many(*expected_before)
-- 
1.5.6.5




More information about the telepathy-commits mailing list