diff --git a/src/utils/hagent.rs b/src/utils/hagent.rs new file mode 100644 index 0000000..5310e11 --- /dev/null +++ b/src/utils/hagent.rs @@ -0,0 +1,22 @@ +// module needed to check host-agent health condition and to communicate with it + +// +// code will be here +// + + +#[cfg(test)] +mod hagent_unittets { + #[tokio::test] + // maybe bool : true -> alive, false -> dead + // simple request on api + async fn hagent_healthcheck() { + + } + #[tokio::test] + // Result + // one-shot func + async fn send_metrics_to_hagent() { + + } +} \ No newline at end of file diff --git a/tests/start_stop.rs b/tests/start_stop.rs index a95b4fd..56629d5 100644 --- a/tests/start_stop.rs +++ b/tests/start_stop.rs @@ -1,4 +1,4 @@ -use runner_rs::*; +// use runner_rs::*; #[test] fn test() {