ADD: added a podcontroller and test for the first basic usage

This commit is contained in:
Henry Winkel
2023-08-08 15:09:18 +02:00
parent 1c4c883648
commit 5f043ca88e
13 changed files with 196 additions and 192 deletions

View File

@@ -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")
{