(t *testing.T)
| 116 | } |
| 117 | |
| 118 | func TestNewFailure(t *testing.T) { |
| 119 | client := fake.NewSimpleClientset() |
| 120 | _, err := newNode(config.Config{}, client) |
| 121 | h.Assert(t, true, "Failed to return error when creating new Node.", err != nil) |
| 122 | } |
| 123 | |
| 124 | func TestDrainSuccess(t *testing.T) { |
| 125 | isOwnerController := true |