summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch
blob: bc288a066702ee82c81fe95217b364bea161c2d2 (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 8d205e1..9a01d89 100644
--- a/src/runtime/crash_unix_test.go
+++ b/src/runtime/crash_unix_test.go
@@ -59,6 +59,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: