(t *testing.T)
| 172 | } |
| 173 | |
| 174 | func TestValidateRollbackConfigWithOrder(t *testing.T) { |
| 175 | config := map[string]any{ |
| 176 | "services": map[string]any{ |
| 177 | "foo": map[string]any{ |
| 178 | "image": "busybox", |
| 179 | "deploy": map[string]any{ |
| 180 | "rollback_config": map[string]any{ |
| 181 | "parallelism": 1, |
| 182 | "order": "start-first", |
| 183 | }, |
| 184 | }, |
| 185 | }, |
| 186 | }, |
| 187 | } |
| 188 | |
| 189 | assert.NilError(t, Validate(config)) |
| 190 | assert.NilError(t, Validate(config)) |
| 191 | } |
| 192 | |
| 193 | func TestValidateRollbackConfigWithUpdateConfig(t *testing.T) { |
| 194 | config := map[string]any{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…