Skip to content

Commit 1a3206c

Browse files
committed
fix error in suite_test
1 parent 5eeb680 commit 1a3206c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

controllers/tests/suite_test.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import (
1919
. "github.com/onsi/ginkgo"
2020
. "github.com/onsi/gomega"
2121
"path/filepath"
22-
"sigs.k8s.io/controller-runtime/pkg/envtest/printer"
2322

2423
"k8s.io/client-go/dynamic"
2524
"k8s.io/client-go/kubernetes"
@@ -31,10 +30,7 @@ import (
3130

3231
func TestAPIs(t *testing.T) {
3332
RegisterFailHandler(Fail)
34-
RunSpecsWithDefaultAndCustomReporters(t,
35-
"Controller Suite",
36-
[]Reporter{printer.NewlineReporter{}},
37-
)
33+
RunSpecs(t, "Controller Suite")
3834
}
3935

4036
var cfg *rest.Config
@@ -68,8 +64,7 @@ var _ = BeforeSuite(func(done Done) {
6864
k8sManager, err = ctrl.NewManager(
6965
cfg,
7066
ctrl.Options{
71-
Scheme: scheme.Scheme,
72-
MetricsBindAddress: "0",
67+
Scheme: scheme.Scheme,
7368
},
7469
)
7570
Expect(err).ToNot(HaveOccurred())

0 commit comments

Comments
 (0)