From e84d1f5717a720b80dfde6914915c8287b2c592d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Tue, 16 Apr 2024 00:33:38 +0800 Subject: [PATCH] Fix tests related to StreamError --- integrationtests/self/cancelation_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/integrationtests/self/cancelation_test.go b/integrationtests/self/cancelation_test.go index 28f3e009a96..f79fc886c4d 100644 --- a/integrationtests/self/cancelation_test.go +++ b/integrationtests/self/cancelation_test.go @@ -246,6 +246,7 @@ var _ = Describe("Stream Cancellations", func() { Expect(err).To(MatchError(&quic.StreamError{ StreamID: str.StreamID(), ErrorCode: quic.StreamErrorCode(str.StreamID()), + Remote: true, })) return } @@ -396,6 +397,7 @@ var _ = Describe("Stream Cancellations", func() { Expect(err).To(MatchError(&quic.StreamError{ StreamID: str.StreamID(), ErrorCode: quic.StreamErrorCode(str.StreamID()), + Remote: true, })) return } @@ -441,6 +443,7 @@ var _ = Describe("Stream Cancellations", func() { Expect(err).To(MatchError(&quic.StreamError{ StreamID: str.StreamID(), ErrorCode: quic.StreamErrorCode(str.StreamID()), + Remote: true, })) return }