summaryrefslogtreecommitdiffstats
path: root/debian/patches/0005-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0005-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch')
-rw-r--r--debian/patches/0005-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/0005-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch b/debian/patches/0005-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch
new file mode 100644
index 0000000..d2bad30
--- /dev/null
+++ b/debian/patches/0005-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch
@@ -0,0 +1,24 @@
+From: Shengjing Zhu <zhsj@debian.org>
+Date: Mon, 26 Feb 2024 17:03:06 +0800
+Subject: Skip flaky TestCrashDumpsAllThreads on mips64le
+
+crash_unix_test.go:145: found 3 instances of main.crashDumpsAllThreadsLoop; expected 4
+---
+ src/runtime/crash_unix_test.go | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/runtime/crash_unix_test.go b/src/runtime/crash_unix_test.go
+index 29d9c47..fdc92a3 100644
+--- a/src/runtime/crash_unix_test.go
++++ b/src/runtime/crash_unix_test.go
+@@ -58,6 +58,10 @@ func TestCrashDumpsAllThreads(t *testing.T) {
+ t.Skip("-quick")
+ }
+
++ if runtime.GOARCH == "mips64le" {
++ t.Skipf("skipping; flaky on %s", runtime.GOARCH)
++ }
++
+ switch runtime.GOOS {
+ case "darwin", "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "illumos", "solaris":
+ default: