File: 0001-Skip-flaky-TestCrashDumpsAllThreads-on-mips64le.patch

package info (click to toggle)
golang-1.24 1.24.4-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid
  • size: 167,820 kB
  • sloc: asm: 154,901; ansic: 7,009; sh: 2,267; javascript: 1,705; perl: 1,052; python: 421; makefile: 110; cpp: 39; f90: 8; awk: 7; objc: 4
file content (24 lines) | stat: -rw-r--r-- 794 bytes parent folder | download | duplicates (14)
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 123a462..20a7ca6 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: