Package: golang-check.v1 / 0.0+git20180628.788fd78-1

01-Skip_flaky_tests.patch Patch series | 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
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{