ADD: added Util class with the function to lowercase the vals for yaml and added support of setting args and command
This commit is contained in:
@@ -15,9 +15,15 @@ SCENARIO("Testing the SimCore Sensor")
|
||||
kubecontrol::PodController podc("docs/config");
|
||||
|
||||
|
||||
kubecontrol::KubePod pod1("pod1",xg::newGuid().str(),"debugdebianhenry:0.1.3");
|
||||
kubecontrol::KubePod pod1("Pod1",xg::newGuid().str(),"debugdebianhenry:0.1.3");
|
||||
|
||||
kubecontrol::KubePod pod2("Pod2",xg::newGuid().str(),"debugdebianhenry:0.1.3");
|
||||
|
||||
pod1.setArgs("-c");
|
||||
pod1.setArgs("while true; do echo hello; sleep 5;done");
|
||||
|
||||
pod1.setCommand("/bin/sh");
|
||||
|
||||
kubecontrol::KubePod pod2("pod2",xg::newGuid().str(),"debugdebianhenry:0.1.3");
|
||||
|
||||
podc.startPod(pod1);
|
||||
podc.startPod(pod2);
|
||||
@@ -27,7 +33,7 @@ nlohmann::json j1 = nlohmann::json::parse(info1);
|
||||
|
||||
nlohmann::json jall = nlohmann::json::parse(podc.getPodsInfo());
|
||||
|
||||
// podc.stopAllPods();
|
||||
podc.stopAllPods();
|
||||
|
||||
GIVEN("different Attributes for a Track in different forms")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user