From 7b866744951dd6d5e9c7fa982b1f5672d653feb4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 16 Apr 2024 21:23:19 +0200 Subject: Adding debian version 1.20.14-2. Signed-off-by: Daniel Baumann --- ...st-increase-default-timeout-scale-for-arm.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 debian/patches/0003-cmd-dist-increase-default-timeout-scale-for-arm.patch (limited to 'debian/patches/0003-cmd-dist-increase-default-timeout-scale-for-arm.patch') diff --git a/debian/patches/0003-cmd-dist-increase-default-timeout-scale-for-arm.patch b/debian/patches/0003-cmd-dist-increase-default-timeout-scale-for-arm.patch new file mode 100644 index 0000000..976959c --- /dev/null +++ b/debian/patches/0003-cmd-dist-increase-default-timeout-scale-for-arm.patch @@ -0,0 +1,29 @@ +From: Balint Reczey +Date: Mon, 31 Aug 2020 13:14:51 +0200 +Subject: [PATCH] cmd/dist: increase default timeout scale for arm + +Forwarded: https://github.com/golang/go/issues/43002 + +Most developers use (faster) amd64 machines setting the test timeouts, +but test may run on slower arm ones and also different tests may suffer +different relative slowdown on the arm CPUs. + +Due to those two varying factors it is safer to allow a higher timeout +scale on arm to avoid tests timing out. +--- + src/cmd/dist/test.go | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go +index 9f26606..770253b 100644 +--- a/src/cmd/dist/test.go ++++ b/src/cmd/dist/test.go +@@ -194,7 +194,7 @@ func (t *tester) run() { + t.timeoutScale = 1 + switch goarch { + case "arm": +- t.timeoutScale = 2 ++ t.timeoutScale = 3 + case "mips", "mipsle", "mips64", "mips64le": + t.timeoutScale = 4 + } -- cgit v1.2.3