File: 0002-scale-timeout-by-10.patch

package info (click to toggle)
golang-github-klauspost-compress 1.17.2%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 46,376 kB
  • sloc: asm: 23,058; sh: 73; makefile: 11
file content (24 lines) | stat: -rw-r--r-- 668 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Shengjing Zhu <zhsj@debian.org>
Date: Mon, 16 Jan 2023 11:45:25 +0800
Subject: scale timeout by 10

We have slow arch to support like armhf/armel

Forwarded: no-needed
---
 zstd/decoder_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: compress-1.17.0/zstd/decoder_test.go
===================================================================
--- compress-1.17.0.orig/zstd/decoder_test.go
+++ compress-1.17.0/zstd/decoder_test.go
@@ -2148,7 +2148,7 @@ func timeout(after time.Duration) (cance
 	if isRaceTest {
 		return func() {}
 	}
-	c := time.After(after)
+	c := time.After(after * 10)
 	cc := make(chan struct{})
 	go func() {
 		select {