(t *testing.T)
| 188 | } |
| 189 | |
| 190 | func TestConvertHealthcheckDisableWithTest(t *testing.T) { |
| 191 | source := &composetypes.HealthCheckConfig{ |
| 192 | Disable: true, |
| 193 | Test: []string{"EXEC", "touch"}, |
| 194 | } |
| 195 | _, err := convertHealthcheck(source) |
| 196 | assert.Error(t, err, "test and disable can't be set at the same time") |
| 197 | } |
| 198 | |
| 199 | func TestConvertEndpointSpec(t *testing.T) { |
| 200 | source := []composetypes.ServicePortConfig{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…