hs-test: add udp mw test 19/43219/6
authorFlorin Coras <[email protected]>
Wed, 18 Jun 2025 03:04:25 +0000 (23:04 -0400)
committerFlorin Coras <[email protected]>
Thu, 19 Jun 2025 21:26:59 +0000 (17:26 -0400)
Type: test

Change-Id: I30a2541bda71aae4cbf2be76f428d23309470631
Signed-off-by: Florin Coras <[email protected]>
extras/hs-test/infra/suite_ldp.go
extras/hs-test/ldp_test.go

index ed81690..7009631 100644 (file)
@@ -109,7 +109,7 @@ func (s *LdpSuite) TeardownTest() {
                s.CollectIperfLogs(s.Containers.ServerApp)
                s.CollectRedisServerLogs(s.Containers.ServerApp)
                s.Log(s.Containers.ServerVpp.VppInstance.Vppctl("show error"))
-               s.Log(s.Containers.ServerVpp.VppInstance.Vppctl("show error"))
+               s.Log(s.Containers.ClientVpp.VppInstance.Vppctl("show error"))
        }
 
        for _, container := range s.StartedContainers {
index 050a1fc..73f10ed 100644 (file)
@@ -14,6 +14,13 @@ func init() {
        RegisterSoloLdpTests(LdpIperfUdpTest, LdpIperfUdpVppInterruptModeTest, RedisBenchmarkTest,
                LdpIperfTlsTcpTest, LdpIperfTcpTest, LdpIperfTcpReorderTest, LdpIperfReverseTcpReorderTest,
                LdpIperfUdpReorderTest, LdpIperfReverseUdpReorderTest)
+       RegisterLdpMWTests(LdpIperfUdpMWTest)
+}
+
+func LdpIperfUdpMWTest(s *LdpSuite) {
+       s.CpusPerVppContainer = 3
+       s.SetupTest()
+       s.AssertIperfMinTransfer(ldPreloadIperf(s, "-u -P 5"), 50)
 }
 
 func LdpIperfUdpVppInterruptModeTest(s *LdpSuite) {