diff options
author | 2024-12-30 20:40:51 +0100 | |
---|---|---|
committer | 2024-12-30 20:42:37 +0100 | |
commit | e210d413d53081f8603af16f203fb92e08127cdc (patch) | |
tree | b60aac85839a9339011e815b7192b204127caa73 /extras/hs-test/infra/suite_vpp_udp_proxy.go | |
parent | d11d31653d948c9f3ac80afd69f111657b007f0f (diff) |
session: proxy session migration fix
Type: fix
Change-Id: I487ee4e69d8885f46d7a4af2c66a710da66108c5
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'extras/hs-test/infra/suite_vpp_udp_proxy.go')
-rw-r--r-- | extras/hs-test/infra/suite_vpp_udp_proxy.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/extras/hs-test/infra/suite_vpp_udp_proxy.go b/extras/hs-test/infra/suite_vpp_udp_proxy.go index 6a65a0be5ff..2290aeec6a2 100644 --- a/extras/hs-test/infra/suite_vpp_udp_proxy.go +++ b/extras/hs-test/infra/suite_vpp_udp_proxy.go @@ -63,6 +63,11 @@ func (s *VppUdpProxySuite) SetupTest() { s.Interfaces.Server.Ip4AddressString(), s.Interfaces.Server.HwAddress) vpp.Vppctl(arp) + arp = fmt.Sprintf("set ip neighbor %s %s %s", + s.Interfaces.Client.Peer.Name(), + s.Interfaces.Client.Ip4AddressString(), + s.Interfaces.Client.HwAddress) + vpp.Vppctl(arp) if *DryRun { s.LogStartedContainers() @@ -127,7 +132,7 @@ func (s *VppUdpProxySuite) ClientSendReceive(toSend []byte, rcvBuffer []byte) (i } defer proxiedConn.Close() - err = proxiedConn.SetReadDeadline(time.Now().Add(time.Second * 5)) + err = proxiedConn.SetDeadline(time.Now().Add(time.Second * 5)) if err != nil { return 0, err } @@ -173,7 +178,7 @@ var _ = Describe("VppUdpProxySuite", Ordered, ContinueOnFailure, func() { } }) -var _ = Describe("VppUdpProxySuiteSolo", Ordered, ContinueOnFailure, func() { +var _ = Describe("VppUdpProxySuiteSolo", Ordered, ContinueOnFailure, Serial, func() { var s VppUdpProxySuite BeforeAll(func() { s.SetupSuite() |