aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-12-04 23:18:02 -0500
committerDave Wallace <dwallacelf@gmail.com>2019-12-05 16:22:13 +0000
commit1063f2ae80666d355407d58e0fda35fbd5292d9b (patch)
tree2b2584ffa5d057c9011457b7672a20c31b657c64
parent87d24db65facb89ca524c951b8379ca2ec4dbc7a (diff)
tests: quic enable per testcase timeout overrides
Type: test Change-Id: I4f8aee3efa53d58f96631fe2d2da5756304fb75a Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
-rw-r--r--src/plugins/quic/test/test_quic.py11
1 files 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):