From 1063f2ae80666d355407d58e0fda35fbd5292d9b Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Wed, 4 Dec 2019 23:18:02 -0500 Subject: tests: quic enable per testcase timeout overrides Type: test Change-Id: I4f8aee3efa53d58f96631fe2d2da5756304fb75a Signed-off-by: Paul Vinciguerra --- src/plugins/quic/test/test_quic.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/plugins/quic/test/test_quic.py b/src/plugins/quic/test/test_quic.py index 8b1dba42af8..152fa5ecd4a 100644 --- a/src/plugins/quic/test/test_quic.py +++ b/src/plugins/quic/test/test_quic.py @@ -41,6 +41,11 @@ class QUICAppWorker(Worker): class QUICTestCase(VppTestCase): """ QUIC Test Case """ + + timeout = 20 + pre_test_sleep = 0.3 + post_test_sleep = 0.2 + @classmethod def setUpClass(cls): cls.extra_vpp_plugin_config.append("plugin quic_plugin.so { enable }") @@ -53,10 +58,7 @@ class QUICTestCase(VppTestCase): if self.build_dir is None: raise Exception("Environment variable `%s' not set" % var) self.vppDebug = 'vpp_debug' in self.build_dir - self.timeout = 20 self.vapi.session_enable_disable(is_enabled=1) - self.pre_test_sleep = 0.3 - self.post_test_sleep = 0.2 self.create_loopback_interfaces(2) self.uri = "quic://%s/1234" % self.loop0.local_ip4 @@ -265,6 +267,8 @@ class QUICEchoExtTestCase(QUICTestCase): class QUICEchoExtTransferTestCase(QUICEchoExtTestCase): """QUIC Echo External Transfer Test Case""" + timeout = 60 + def test_quic_ext_transfer(self): self.server() self.client() @@ -274,6 +278,7 @@ class QUICEchoExtTransferTestCase(QUICEchoExtTestCase): class QUICEchoExtTransferBigTestCase(QUICEchoExtTestCase): """QUIC Echo External Transfer Big Test Case""" test_bytes = '' + timeout = 60 @unittest.skipUnless(running_extended_tests, "part of extended tests") def test_quic_ext_transfer_big(self): -- cgit 1.2.3-korg