ADD: added a podcontroller and test for the first basic usage
This commit is contained in:
@@ -20,13 +20,13 @@ SCENARIO("Testing the SimCore Sensor")
|
||||
|
||||
// std::string uuid = "random" + std::to_string(random);
|
||||
|
||||
kubecontrol::KubePod pod1("debug-debian",uuid,"debugdebianhenry:0.1.2");
|
||||
kubecontrol::KubePod pod1("debug-debian",uuid,"debugdebianhenry:0.1.3");
|
||||
pod1.setEnvironmentVar("OWN_SHIP_SERVER", "127.0.0.1");
|
||||
LOG_S(INFO)<<pod1.createYAML();
|
||||
|
||||
pod1.start(api,token);
|
||||
LOG_S(INFO)<< pod1.getInfo(api, token).dump();
|
||||
pod1.stop(api,token);
|
||||
LOG_S(INFO)<<pod1.start(api,token);
|
||||
LOG_S(INFO)<< pod1.getInfo(api, token);
|
||||
// pod1.stop(api,token);
|
||||
|
||||
WHEN("constructing Track Object with data")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user