switch (healthConfig.protocol) { case COMMAND: probe.exec = new ExecAction(); probe.exec.command = healthConfig.command.split("\\s+"); break;
@Test public void testFromContainerDescriptionHealthConfigToPodContainerProbe() { Probe expectedProbe1 = new Probe(); expectedProbe1.exec = new ExecAction(); expectedProbe1.exec.command = new String[] { "test", "command" }; expectedProbe1.timeoutSeconds = 1;