File: 01-Skip_flaky_tests.patch

package info (click to toggle)
golang-check.v1 0.0%2Bgit20200902.038fdea-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 308 kB
  • sloc: makefile: 2
file content (43 lines) | stat: -rw-r--r-- 1,204 bytes parent folder | download | duplicates (2)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Description: Skip_flaky_tests
--- a/benchmark_test.go
+++ b/benchmark_test.go
@@ -16,6 +16,7 @@
 }
 
 func (s *BenchmarkS) TestBasicTestTiming(c *C) {
+	c.Skip("Skipping time-dependant test.")
 	helper := FixtureHelper{sleepOn: "Test1", sleep: 1000000 * time.Nanosecond}
 	output := String{}
 	runConf := RunConf{Output: &output, Verbose: true}
@@ -27,6 +28,7 @@
 }
 
 func (s *BenchmarkS) TestStreamTestTiming(c *C) {
+	c.Skip("Skipping time-dependant test.")
 	helper := FixtureHelper{sleepOn: "SetUpSuite", sleep: 1000000 * time.Nanosecond}
 	output := String{}
 	runConf := RunConf{Output: &output, Stream: true}
@@ -37,6 +39,7 @@
 }
 
 func (s *BenchmarkS) TestBenchmark(c *C) {
+	c.Skip("Skipping time-dependant test.")
 	helper := FixtureHelper{sleep: 100000}
 	output := String{}
 	runConf := RunConf{
@@ -60,6 +63,7 @@
 }
 
 func (s *BenchmarkS) TestBenchmarkBytes(c *C) {
+	c.Skip("Skipping time-dependant test.")
 	helper := FixtureHelper{sleep: 100000}
 	output := String{}
 	runConf := RunConf{
@@ -75,6 +79,7 @@
 }
 
 func (s *BenchmarkS) TestBenchmarkMem(c *C) {
+	c.Skip("Skipping time-dependant test.")
 	helper := FixtureHelper{sleep: 100000}
 	output := String{}
 	runConf := RunConf{