File: 0005-cancel-test.patch

package info (click to toggle)
golang-github-lucas-clemente-quic-go 0.50.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,496 kB
  • sloc: sh: 54; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 729 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Remove flaky i386 test
Author: John Goerzen
Last-Update: 2025-04-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/integrationtests/self/cancelation_test.go
+++ b/integrationtests/self/cancelation_test.go
@@ -20,14 +20,6 @@
 )
 
 func TestStreamReadCancellation(t *testing.T) {
-	t.Run("immediate", func(t *testing.T) {
-		testStreamCancellation(t, func(str quic.ReceiveStream) error {
-			str.CancelRead(quic.StreamErrorCode(str.StreamID()))
-			_, err := str.Read([]byte{0})
-			return err
-		}, nil)
-	})
-
 	t.Run("after reading some data", func(t *testing.T) {
 		testStreamCancellation(t, func(str quic.ReceiveStream) error {
 			length := int(rand.Int31n(int32(len(PRData) - 1)))