Skip to content

Commit 578ec1b

Browse files
medinatigerk8s-ci-robot
authored andcommitted
Fix Test race. (#303)
1 parent 405008c commit 578ec1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/controller/machine/machine_suite_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ func TestMachine(t *testing.T) {
4040
controller, shutdown := getController(config)
4141
defer close(shutdown)
4242
machineControllerReconcile(t, cs, controller, "default")
43+
})
44+
t.Run("machineControllerReconcileNonDefaultNameSpace", func(t *testing.T) {
45+
controller, shutdown := getController(config)
46+
defer close(shutdown)
4347
machineControllerReconcile(t, cs, controller, "nondefault")
4448
})
4549
t.Run("machineControllerConcurrentReconcile", func(t *testing.T) {

0 commit comments

Comments
 (0)