summaryrefslogtreecommitdiffstats
path: root/debian/patches/0005-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch
blob: d2bad304005a103be2263739ee0d4e201087d489 (plain)
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, 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: