From 706079c92abe2c218da15c13d2c933914af18d18 Mon Sep 17 00:00:00 2001 From: Aloys Augustin Date: Thu, 27 Jun 2019 16:10:23 +0200 Subject: 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 --- test/test_quic.py | 12 ++++++------ 1 file 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): -- cgit 1.2.3-korg