File tree 12 files changed +12
-60
lines changed
12 files changed +12
-60
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ import (
4
4
"testing"
5
5
6
6
. "github.com/onsi/ginkgo"
7
- "github.com/onsi/ginkgo/reporters"
8
7
. "github.com/onsi/gomega"
9
8
)
10
9
11
10
func TestFluentd (t * testing.T ) {
12
11
RegisterFailHandler (Fail )
13
-
14
- tc := "ClusterLogging E2E Suite - Collection Fluentd"
15
- jr := reporters .NewJUnitReporter ("/tmp/artifacts/junit/junit-collection-fluentd.xml" )
16
- RunSpecsWithDefaultAndCustomReporters (t , tc , []Reporter {jr })
12
+ RunSpecs (t , "ClusterLogging E2E Suite - Collection Fluentd" )
17
13
}
Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ import (
4
4
"testing"
5
5
6
6
. "github.com/onsi/ginkgo"
7
- "github.com/onsi/ginkgo/reporters"
8
7
. "github.com/onsi/gomega"
9
8
)
10
9
11
10
func TestClusterLogForwarder (t * testing.T ) {
12
11
RegisterFailHandler (Fail )
13
-
14
- tc := "ClusterLogForwarder E2E Suite - Elasticsearch Managed"
15
- jr := reporters .NewJUnitReporter ("/tmp/artifacts/junit/junit-elasticsearch-managed.xml" )
16
- RunSpecsWithDefaultAndCustomReporters (t , tc , []Reporter {jr })
12
+ RunSpecs (t , "ClusterLogForwarder E2E Suite - Elasticsearch Managed" )
17
13
}
Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ import (
4
4
"testing"
5
5
6
6
. "github.com/onsi/ginkgo"
7
- "github.com/onsi/ginkgo/reporters"
8
7
. "github.com/onsi/gomega"
9
8
)
10
9
11
10
func TestClusterLogForwarder (t * testing.T ) {
12
11
RegisterFailHandler (Fail )
13
-
14
- tc := "ClusterLogForwarder E2E Suite - Elasticsearch Unmanaged"
15
- jr := reporters .NewJUnitReporter ("/tmp/artifacts/junit/junit-elasticsearch-unmanaged.xml" )
16
- RunSpecsWithDefaultAndCustomReporters (t , tc , []Reporter {jr })
12
+ RunSpecs (t , "ClusterLogForwarder E2E Suite - Elasticsearch Unmanaged" )
17
13
}
Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ import (
4
4
"testing"
5
5
6
6
. "github.com/onsi/ginkgo"
7
- "github.com/onsi/ginkgo/reporters"
8
7
. "github.com/onsi/gomega"
9
8
)
10
9
11
10
func TestClusterLogForwarder (t * testing.T ) {
12
11
RegisterFailHandler (Fail )
13
-
14
- tc := "ClusterLogForwarder E2E Suite - Syslog"
15
- jr := reporters .NewJUnitReporter ("/tmp/artifacts/junit/junit-syslog.xml" )
16
- RunSpecsWithDefaultAndCustomReporters (t , tc , []Reporter {jr })
12
+ RunSpecs (t , "ClusterLogForwarder E2E Suite - Syslog" )
17
13
}
Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ import (
4
4
"testing"
5
5
6
6
. "github.com/onsi/ginkgo"
7
- "github.com/onsi/ginkgo/reporters"
8
7
. "github.com/onsi/gomega"
9
8
)
10
9
11
10
func TestSuite (t * testing.T ) {
12
11
RegisterFailHandler (Fail )
13
-
14
- tc := "[Framework][Functional] Suite"
15
- jr := reporters .NewJUnitReporter ("/tmp/artifacts/junit/junit-framework-functional.xml" )
16
- RunSpecsWithDefaultAndCustomReporters (t , tc , []Reporter {jr })
12
+ RunSpecs (t , "[Framework][Functional] Suite" )
17
13
}
Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ import (
4
4
"testing"
5
5
6
6
. "github.com/onsi/ginkgo"
7
- "github.com/onsi/ginkgo/reporters"
8
7
. "github.com/onsi/gomega"
9
8
)
10
9
11
10
func TestLogForwarding (t * testing.T ) {
12
11
RegisterFailHandler (Fail )
13
-
14
- tc := "[Functional][Collection] Suite"
15
- jr := reporters .NewJUnitReporter ("/tmp/artifacts/junit/junit-functional-collection.xml" )
16
- RunSpecsWithDefaultAndCustomReporters (t , tc , []Reporter {jr })
12
+ RunSpecs (t , "[Functional][Collection] Suite" )
17
13
}
Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ import (
4
4
"testing"
5
5
6
6
. "github.com/onsi/ginkgo"
7
- "github.com/onsi/ginkgo/reporters"
8
7
. "github.com/onsi/gomega"
9
8
)
10
9
11
10
func TestFunctionMetrics (t * testing.T ) {
12
11
RegisterFailHandler (Fail )
13
-
14
- tc := "ClusterLogging Functional Suite - SampleCollector"
15
- jr := reporters .NewJUnitReporter ("/tmp/artifacts/junit/junit-functional-metrics.xml" )
16
- RunSpecsWithDefaultAndCustomReporters (t , tc , []Reporter {jr })
12
+ RunSpecs (t , "ClusterLogging Functional Suite - SampleCollector" )
17
13
}
Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ import (
4
4
"testing"
5
5
6
6
. "github.com/onsi/ginkgo"
7
- "github.com/onsi/ginkgo/reporters"
8
7
. "github.com/onsi/gomega"
9
8
)
10
9
11
10
func TestNormalization (t * testing.T ) {
12
11
RegisterFailHandler (Fail )
13
-
14
- tc := "ClusterLogging Functional Normalization Suite"
15
- jr := reporters .NewJUnitReporter ("/tmp/artifacts/junit/junit-normalization.xml" )
16
- RunSpecsWithDefaultAndCustomReporters (t , tc , []Reporter {jr })
12
+ RunSpecs (t , "ClusterLogging Functional Normalization Suite" )
17
13
}
Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ import (
4
4
"testing"
5
5
6
6
. "github.com/onsi/ginkgo"
7
- "github.com/onsi/ginkgo/reporters"
8
7
. "github.com/onsi/gomega"
9
8
)
10
9
11
10
func TestFunctionalOutputs (t * testing.T ) {
12
11
RegisterFailHandler (Fail )
13
-
14
- tc := "ClusterLogging Functional Loki Output Suite"
15
- jr := reporters .NewJUnitReporter ("/tmp/artifacts/junit/junit-functional-output.xml" )
16
- RunSpecsWithDefaultAndCustomReporters (t , tc , []Reporter {jr })
12
+ RunSpecs (t , "ClusterLogging Functional Loki Output Suite" )
17
13
}
Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ import (
4
4
"testing"
5
5
6
6
. "github.com/onsi/ginkgo"
7
- "github.com/onsi/ginkgo/reporters"
8
7
. "github.com/onsi/gomega"
9
8
)
10
9
11
10
func TestFunctionalOutputs (t * testing.T ) {
12
11
RegisterFailHandler (Fail )
13
-
14
- tc := "[Functional][Outputs][Multiple] Test Suite"
15
- jr := reporters .NewJUnitReporter ("/tmp/artifacts/junit/junit-functional-outputs-multiple.xml" )
16
- RunSpecsWithDefaultAndCustomReporters (t , tc , []Reporter {jr })
12
+ RunSpecs (t , "[Functional][Outputs][Multiple] Test Suite" )
17
13
}
Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ import (
4
4
"testing"
5
5
6
6
. "github.com/onsi/ginkgo"
7
- "github.com/onsi/ginkgo/reporters"
8
7
. "github.com/onsi/gomega"
9
8
)
10
9
11
10
func TestFunctionalOutputs (t * testing.T ) {
12
11
RegisterFailHandler (Fail )
13
-
14
- tc := "ClusterLogging Functional Output Suite"
15
- jr := reporters .NewJUnitReporter ("/tmp/artifacts/junit/junit-functional-output.xml" )
16
- RunSpecsWithDefaultAndCustomReporters (t , tc , []Reporter {jr })
12
+ RunSpecs (t , "ClusterLogging Functional Output Suite" )
17
13
}
Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ import (
4
4
"testing"
5
5
6
6
. "github.com/onsi/ginkgo"
7
- "github.com/onsi/ginkgo/reporters"
8
7
. "github.com/onsi/gomega"
9
8
)
10
9
11
10
func TestMatchers (t * testing.T ) {
12
11
RegisterFailHandler (Fail )
13
-
14
- tc := "Matchers test"
15
- jr := reporters .NewJUnitReporter ("/tmp/artifacts/junit/junit-matchers.xml" )
16
- RunSpecsWithDefaultAndCustomReporters (t , tc , []Reporter {jr })
12
+ RunSpecs (t , "Matchers test" )
17
13
}
You can’t perform that action at this time.
0 commit comments