(t *testing.T)
| 353 | } |
| 354 | |
| 355 | func TestToServiceMaxReplicasGlobalModeConflict(t *testing.T) { |
| 356 | opt := serviceOptions{ |
| 357 | mode: "global", |
| 358 | maxReplicas: 1, |
| 359 | } |
| 360 | _, err := opt.ToServiceMode() |
| 361 | assert.Error(t, err, "replicas-max-per-node can only be used with replicated or replicated-job mode") |
| 362 | } |
| 363 | |
| 364 | func TestToServiceSysCtls(t *testing.T) { |
| 365 | o := newServiceOptions() |
nothing calls this directly
no test coverage detected
searching dependent graphs…