From 8b04b0a003162b004516cacb45c493f1f02f5890 Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Wed, 5 Feb 2025 04:04:56 -0500 Subject: [PATCH] hs-test: fix vppConnectUdpStressLoad panic Type: test Change-Id: Id5573d4e1a9216297046db33be887ebfa343fa28 Signed-off-by: Matus Fabian --- extras/hs-test/proxy_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.16.6