diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2023-09-04 14:17:52 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-10-26 16:32:17 +0000 |
commit | efe875e7cd4bbdf0d55374c7a49577f02a92a3fd (patch) | |
tree | 966ef834d31d1a6f4900de11bbb5b15aaaab899c /test/asf | |
parent | 4d05f069a3be308f7fbd8cf043d6ac4266861fa2 (diff) |
hsa: unify echo test setup
Type: test
Change-Id: I8665492c2f7755901a428aacdb27e98329ff557a
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'test/asf')
-rw-r--r-- | test/asf/test_quic.py | 18 | ||||
-rw-r--r-- | test/asf/test_session.py | 4 | ||||
-rw-r--r-- | test/asf/test_tcp.py | 4 | ||||
-rw-r--r-- | test/asf/test_tls.py | 4 |
4 files changed, 15 insertions, 15 deletions
diff --git a/test/asf/test_quic.py b/test/asf/test_quic.py index 0d615d52132..2414186ab13 100644 --- a/test/asf/test_quic.py +++ b/test/asf/test_quic.py @@ -139,9 +139,9 @@ class QUICEchoIntTestCase(QUICTestCase): def setUp(self): super(QUICEchoIntTestCase, self).setUp() self.client_args = ( - f"uri {self.uri} fifo-size 64{self.test_bytes} appns {self.client_appns} " + f"uri {self.uri} fifo-size 64k{self.test_bytes} appns {self.client_appns} " ) - self.server_args = f"uri {self.uri} fifo-size 64 appns {self.server_appns} " + self.server_args = f"uri {self.uri} fifo-size 64k appns {self.server_appns} " def tearDown(self): super(QUICEchoIntTestCase, self).tearDown() @@ -168,7 +168,7 @@ class QUICEchoIntTransferTestCase(QUICEchoIntTestCase): def test_quic_int_transfer(self): """QUIC internal transfer""" self.server() - self.client("no-output", "mbytes", "2") + self.client("mbytes", "2") @tag_fixme_vpp_workers @@ -178,11 +178,11 @@ class QUICEchoIntSerialTestCase(QUICEchoIntTestCase): def test_quic_serial_int_transfer(self): """QUIC serial internal transfer""" self.server() - 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") + self.client("mbytes", "2") + self.client("mbytes", "2") + self.client("mbytes", "2") + self.client("mbytes", "2") + self.client("mbytes", "2") @tag_fixme_vpp_workers @@ -192,7 +192,7 @@ class QUICEchoIntMStreamTestCase(QUICEchoIntTestCase): def test_quic_int_multistream_transfer(self): """QUIC internal multi-stream transfer""" self.server() - self.client("nclients", "10", "mbytes", "1", "no-output") + self.client("nclients", "10", "mbytes", "1") class QUICEchoExtTestCase(QUICTestCase): diff --git a/test/asf/test_session.py b/test/asf/test_session.py index d01381537e1..885d66c6863 100644 --- a/test/asf/test_session.py +++ b/test/asf/test_session.py @@ -79,7 +79,7 @@ class TestSession(VppTestCase): # Start builtin server and client with small private segments uri = "tcp://" + self.loop0.local_ip4 + "/1234" error = self.vapi.cli( - "test echo server appns 0 fifo-size 64 " + "test echo server appns 0 fifo-size 64k " + "private-segment-size 1m uri " + uri ) @@ -89,7 +89,7 @@ class TestSession(VppTestCase): error = self.vapi.cli( "test echo client nclients 100 appns 1 " - + "no-output fifo-size 64 syn-timeout 2 " + + "fifo-size 64k syn-timeout 2 " + "private-segment-size 1m uri " + uri ) diff --git a/test/asf/test_tcp.py b/test/asf/test_tcp.py index 184e5700773..4a16d573668 100644 --- a/test/asf/test_tcp.py +++ b/test/asf/test_tcp.py @@ -73,14 +73,14 @@ class TestTCP(VppTestCase): # Start builtin server and client uri = "tcp://" + self.loop0.local_ip4 + "/1234" - error = self.vapi.cli("test echo server appns 0 fifo-size 4 uri " + uri) + error = self.vapi.cli("test echo server appns 0 fifo-size 4k uri " + uri) if error: self.logger.critical(error) self.assertNotIn("failed", error) error = self.vapi.cli( "test echo client mbytes 10 appns 1 " - + "fifo-size 4 no-output test-bytes " + + "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 89ee4501126..e70c63d9a32 100644 --- a/test/asf/test_tls.py +++ b/test/asf/test_tls.py @@ -129,7 +129,7 @@ class TestTLS(VppTestCase): # Start builtin server and client uri = "tls://" + self.loop0.local_ip4 + "/1234" error = self.vapi.cli( - "test echo server appns 0 fifo-size 4 tls-engine 1 uri " + uri + "test echo server appns 0 fifo-size 4k tls-engine 1 uri " + uri ) if error: self.logger.critical(error) @@ -137,7 +137,7 @@ class TestTLS(VppTestCase): error = self.vapi.cli( "test echo client mbytes 10 appns 1 " - "fifo-size 4 no-output test-bytes " + "fifo-size 4k test-bytes " "tls-engine 1 " "syn-timeout 2 uri " + uri ) |