diff options
Diffstat (limited to 'test/asf')
-rw-r--r-- | test/asf/test_quic.py | 14 | ||||
-rw-r--r-- | test/asf/test_session_sdl.py | 5 | ||||
-rw-r--r-- | test/asf/test_tcp.py | 2 | ||||
-rw-r--r-- | test/asf/test_tls.py | 2 |
4 files changed, 14 insertions, 9 deletions
diff --git a/test/asf/test_quic.py b/test/asf/test_quic.py index c4fa6912114..78ebe0f40a7 100644 --- a/test/asf/test_quic.py +++ b/test/asf/test_quic.py @@ -178,7 +178,7 @@ class QUICEchoIntTransferTestCase(QUICEchoIntTestCase): def test_quic_int_transfer(self): """QUIC internal transfer""" self.server() - self.client("mbytes", "2") + self.client("bytes", "2m") @tag_fixme_vpp_workers @@ -188,11 +188,11 @@ class QUICEchoIntSerialTestCase(QUICEchoIntTestCase): def test_quic_serial_int_transfer(self): """QUIC serial internal transfer""" self.server() - self.client("mbytes", "2") - self.client("mbytes", "2") - self.client("mbytes", "2") - self.client("mbytes", "2") - self.client("mbytes", "2") + self.client("bytes", "2m") + self.client("bytes", "2m") + self.client("bytes", "2m") + self.client("bytes", "2m") + self.client("bytes", "2m") @tag_fixme_vpp_workers @@ -202,7 +202,7 @@ class QUICEchoIntMStreamTestCase(QUICEchoIntTestCase): def test_quic_int_multistream_transfer(self): """QUIC internal multi-stream transfer""" self.server() - self.client("nclients", "10", "mbytes", "1") + self.client("nclients", "10", "bytes", "1m") class QUICEchoExtTestCase(QUICTestCase): diff --git a/test/asf/test_session_sdl.py b/test/asf/test_session_sdl.py index 53301f7bd6c..d2e30daa9f2 100644 --- a/test/asf/test_session_sdl.py +++ b/test/asf/test_session_sdl.py @@ -5,6 +5,7 @@ import unittest from framework import VppTestCase from asfframework import VppTestRunner, tag_fixme_vpp_workers from ipaddress import IPv4Network, IPv6Network +from config import config from vpp_ip_route import ( VppIpRoute, @@ -25,6 +26,10 @@ class TestSessionSDL(VppTestCase): @classmethod def setUpClass(cls): + # increase vapi timeout, to avoid + # failures reported on test-cov + if config.gcov: + cls.vapi_response_timeout = 20 super(TestSessionSDL, cls).setUpClass() @classmethod diff --git a/test/asf/test_tcp.py b/test/asf/test_tcp.py index 23772d34c76..e9c9e1efb68 100644 --- a/test/asf/test_tcp.py +++ b/test/asf/test_tcp.py @@ -89,7 +89,7 @@ class TestTCP(VppAsfTestCase): self.assertNotIn("failed", error) error = self.vapi.cli( - "test echo client mbytes 10 appns 1 " + "test echo client bytes 10m appns 1 " + "fifo-size 4k test-bytes " + "syn-timeout 2 uri " + uri diff --git a/test/asf/test_tls.py b/test/asf/test_tls.py index 2ce87143339..6676132417c 100644 --- a/test/asf/test_tls.py +++ b/test/asf/test_tls.py @@ -142,7 +142,7 @@ class TestTLS(VppAsfTestCase): self.assertNotIn("failed", error) error = self.vapi.cli( - "test echo client mbytes 10 appns 1 " + "test echo client bytes 10m appns 1 " "fifo-size 4k test-bytes " "tls-engine 1 " "syn-timeout 2 uri " + uri |