summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAloys Augustin <aloaugus@cisco.com>2019-06-27 16:10:23 +0200
committerDave Wallace <dwallacelf@gmail.com>2019-06-27 16:07:28 +0000
commit706079c92abe2c218da15c13d2c933914af18d18 (patch)
tree03b2cb5fe416a9124f5b0552793c119e9640b7b8
parent6aa9f5f8dc14cec4005b8bac33b5a8697168548e (diff)
quic: fix tests
Reduce the amount of data sent to avoid a hang in the QUIC stack when the fifos get full. This fixes the QUIC tests in debug mode while https://gerrit.fd.io/r/c/19823/ is not merged. Change-Id: I1ed4c5dc3d41c09bc674de808f3778a074b15454 Type: test Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
-rw-r--r--test/test_quic.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_quic.py b/test/test_quic.py
index 490ed5ebcf8..63b86b6efeb 100644
--- a/test/test_quic.py
+++ b/test/test_quic.py
@@ -131,7 +131,7 @@ class QUICEchoInternalTransferTestCase(QUICEchoInternalTestCase):
@unittest.skipUnless(running_extended_tests, "part of extended tests")
def test_quic_internal_transfer(self):
self.server()
- self.client("no-output", "mbytes", "10")
+ self.client("no-output", "mbytes", "2")
class QUICEchoInternalSerialTestCase(QUICEchoInternalTestCase):
@@ -139,11 +139,11 @@ class QUICEchoInternalSerialTestCase(QUICEchoInternalTestCase):
@unittest.skipUnless(running_extended_tests, "part of extended tests")
def test_quic_serial_internal_transfer(self):
self.server()
- self.client("no-output", "mbytes", "10")
- self.client("no-output", "mbytes", "10")
- self.client("no-output", "mbytes", "10")
- self.client("no-output", "mbytes", "10")
- self.client("no-output", "mbytes", "10")
+ self.client("no-output", "mbytes", "2")
+ self.client("no-output", "mbytes", "2")
+ self.client("no-output", "mbytes", "2")
+ self.client("no-output", "mbytes", "2")
+ self.client("no-output", "mbytes", "2")
class QUICEchoInternalMStreamTestCase(QUICEchoInternalTestCase):