()
| 49 | } |
| 50 | |
| 51 | func newTestController() (*Controller, *kube.Client) { |
| 52 | kube.SetFakeClient() |
| 53 | ctrl := NewController() |
| 54 | ctrl.snapshotReadyTimeoutSeconds = 1 |
| 55 | return ctrl, kube.GetClient() |
| 56 | } |
| 57 | |
| 58 | func TestControllerQueue(t *testing.T) { |
| 59 | ctrl, _ := newTestController() |
no test coverage detected