From: Matus Fabian Date: Wed, 5 Feb 2025 09:04:56 +0000 (-0500) Subject: hs-test: fix vppConnectUdpStressLoad panic X-Git-Tag: v25.10-rc0~227 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F42311%2F2;p=vpp.git hs-test: fix vppConnectUdpStressLoad panic Type: test Change-Id: Id5573d4e1a9216297046db33be887ebfa343fa28 Signed-off-by: Matus Fabian --- diff --git a/extras/hs-test/proxy_test.go b/extras/hs-test/proxy_test.go index 192451fe8f4..7cb33169b8e 100644 --- a/extras/hs-test/proxy_test.go +++ b/extras/hs-test/proxy_test.go @@ -589,7 +589,7 @@ func vppConnectUdpStressLoad(s *VppUdpProxySuite) { if e != nil { if errors.Is(e, os.ErrDeadlineExceeded) { timed += 1 - } else if errors.Is(e, err.(*CapsuleParseError)) { + } else if errors.Is(e, &CapsuleParseError{}) { invalidData.Add(1) } else { re += 1