quic: fix tests 87/20387/2
authorAloys Augustin <aloaugus@cisco.com>
Thu, 27 Jun 2019 14:10:23 +0000 (16:10 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Thu, 27 Jun 2019 16:07:28 +0000 (16:07 +0000)
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>
test/test_quic.py

index 490ed5e..63b86b6 100644 (file)
@@ -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):