diff options
author | 2025-02-05 04:04:56 -0500 | |
---|---|---|
committer | 2025-02-05 18:58:36 +0000 | |
commit | 8b04b0a003162b004516cacb45c493f1f02f5890 (patch) | |
tree | 7d424ab8bdfa6ace9a71f79683c87bfb16170058 | |
parent | 66ae89b8e3abc9ddf94d5a8879bb4960dab983a5 (diff) |
hs-test: fix vppConnectUdpStressLoad panic
Type: test
Change-Id: Id5573d4e1a9216297046db33be887ebfa343fa28
Signed-off-by: Matus Fabian <matfabia@cisco.com>
-rw-r--r-- | extras/hs-test/proxy_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |