Skip to content

Commit 4445f2e

Browse files
committed
test
1 parent 1b4e59e commit 4445f2e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pkg/controller/cluster/cluster_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func TestReconcile(t *testing.T) {
4848

4949
// Setup the Manager and Controller. Wrap the Controller Reconcile function so it writes each request to a
5050
// channel when it is finished.
51-
mgr, err := manager.New(cfg, manager.Options{})
51+
mgr, err := manager.New(cfg, manager.Options{Port: 1234})
5252
if err != nil {
5353
t.Fatalf("error creating new manager: %v", err)
5454
}

pkg/controller/machinedeployment/machinedeployment_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func TestReconcile(t *testing.T) {
6666

6767
// Setup the Manager and Controller. Wrap the Controller Reconcile function so it writes each request to a
6868
// channel when it is finished.
69-
mgr, err := manager.New(cfg, manager.Options{})
69+
mgr, err := manager.New(cfg, manager.Options{Port: 1234})
7070
if err != nil {
7171
t.Errorf("error creating new manager: %v", err)
7272
}

pkg/controller/machineset/machineset_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const timeout = time.Second * 5
3838
func TestReconcile(t *testing.T) {
3939
// Setup the Manager and Controller. Wrap the Controller Reconcile function so it writes each request to a
4040
// channel when it is finished.
41-
mgr, err := manager.New(cfg, manager.Options{})
41+
mgr, err := manager.New(cfg, manager.Options{Port: 1234})
4242
if err != nil {
4343
t.Errorf("error creating new manager: %v", err)
4444
}

pkg/controller/node/node_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func TestReconcile(t *testing.T) {
4141

4242
// Setup the Manager and Controller. Wrap the Controller Reconcile function so it writes each request to a
4343
// channel when it is finished.
44-
mgr, err := manager.New(cfg, manager.Options{})
44+
mgr, err := manager.New(cfg, manager.Options{Port: 1234})
4545
if err != nil {
4646
t.Errorf("error creating new manager: %v", err)
4747
}

0 commit comments

Comments
 (0)