small refactor in hagent
parent
cdcef60c18
commit
701de28cf8
|
|
@ -11,12 +11,12 @@ mod hagent_unittets {
|
||||||
// maybe bool : true -> alive, false -> dead
|
// maybe bool : true -> alive, false -> dead
|
||||||
// simple request on api
|
// simple request on api
|
||||||
async fn hagent_healthcheck() {
|
async fn hagent_healthcheck() {
|
||||||
|
assert!(true);
|
||||||
}
|
}
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
// Result<maybe Response>
|
// Result<maybe Response>
|
||||||
// one-shot func
|
// one-shot func
|
||||||
async fn send_metrics_to_hagent() {
|
async fn send_metrics_to_hagent() {
|
||||||
|
assert!(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue