From c83ad8053c2bebe0fe0e5ff95c228ac7898b0509 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/integrationtests/self/cancelation_test.go b/integrationtests/self/cancelation_test.go index 28f3e009a96..9027886ca4f 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 } @@ -356,6 +357,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 +398,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 +444,7 @@ var _ = Describe("Stream Cancellations", func() { Expect(err).To(MatchError(&quic.StreamError{ StreamID: str.StreamID(), ErrorCode: quic.StreamErrorCode(str.StreamID()), + Remote: true, })) return } @@ -486,6 +490,7 @@ var _ = Describe("Stream Cancellations", func() { Expect(err).To(MatchError(&quic.StreamError{ StreamID: str.StreamID(), ErrorCode: quic.StreamErrorCode(str.StreamID()), + Remote: true, })) return }