From: Aloys Augustin Date: Thu, 27 Jun 2019 14:10:23 +0000 (+0200) Subject: quic: fix tests X-Git-Tag: v20.01-rc0~304 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=706079c92abe2c218da15c13d2c933914af18d18;p=vpp.git 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 --- 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):