(t *testing.T)
| 327 | } |
| 328 | |
| 329 | func TestValidateRollbackConfigWithOrder(t *testing.T) { |
| 330 | config := dict{ |
| 331 | "version": "3.4", |
| 332 | "services": dict{ |
| 333 | "foo": dict{ |
| 334 | "image": "busybox", |
| 335 | "deploy": dict{ |
| 336 | "rollback_config": dict{ |
| 337 | "parallelism": 1, |
| 338 | "order": "start-first", |
| 339 | }, |
| 340 | }, |
| 341 | }, |
| 342 | }, |
| 343 | } |
| 344 | |
| 345 | assert.NilError(t, Validate(config, "3.7")) |
| 346 | } |
| 347 | |
| 348 | func TestValidateRollbackConfigWithUpdateConfig(t *testing.T) { |
| 349 | config := dict{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…