(t *testing.T)
| 309 | } |
| 310 | |
| 311 | func TestValidateRollbackConfig(t *testing.T) { |
| 312 | config := dict{ |
| 313 | "version": "3.4", |
| 314 | "services": dict{ |
| 315 | "foo": dict{ |
| 316 | "image": "busybox", |
| 317 | "deploy": dict{ |
| 318 | "rollback_config": dict{ |
| 319 | "parallelism": 1, |
| 320 | }, |
| 321 | }, |
| 322 | }, |
| 323 | }, |
| 324 | } |
| 325 | |
| 326 | assert.NilError(t, Validate(config, "3.7")) |
| 327 | } |
| 328 | |
| 329 | func TestValidateRollbackConfigWithOrder(t *testing.T) { |
| 330 | config := dict{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…