File: 001-skip-flaky-test.patch

package info (click to toggle)
golang-k8s-utils 0.0~git20251002.bc988d5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,088 kB
  • sloc: sh: 245; makefile: 25
file content (26 lines) | stat: -rw-r--r-- 765 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Mathias Gibbens <gibmat@debian.org>
Description: Skip a flaky test
Forwarded: not-needed
diff --git a/trace/trace_test.go b/trace/trace_test.go
index cec0d43..cb9c223 100644
--- a/trace/trace_test.go
+++ b/trace/trace_test.go
@@ -329,18 +329,6 @@ func TestLogIfLong(t *testing.T) {
 		mutateInfo       []mutate // mutateInfo contains the information to mutate step's time to simulate multiple tests without waiting.
 
 	}{
-		{
-			name: "When threshold is 500 and msg 2 has highest share",
-			expectedMessages: []string{
-				"msg2",
-			},
-			mutateInfo: []mutate{
-				{10, "msg1"},
-				{1000, "msg2"},
-				{0, "msg3"},
-			},
-			threshold: 500,
-		},
 		{
 			name: "When threshold is 10 and msg 3 has highest share",
 			expectedMessages: []string{