(t *testing.T)
| 139 | } |
| 140 | |
| 141 | func TestHealthCheckOptionsToHealthConfigConflict(t *testing.T) { |
| 142 | opt := healthCheckOptions{ |
| 143 | cmd: "curl", |
| 144 | noHealthcheck: true, |
| 145 | } |
| 146 | _, err := opt.toHealthConfig() |
| 147 | assert.Error(t, err, "--no-healthcheck conflicts with --health-* options") |
| 148 | } |
| 149 | |
| 150 | func TestResourceOptionsToResourceRequirements(t *testing.T) { |
| 151 | incorrectOptions := []resourceOptions{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…