fix lints
This commit is contained in:
@ -3,7 +3,7 @@ use std::{sync::LazyLock, time::Duration};
|
||||
use http::StatusCode;
|
||||
use reqwest::Client;
|
||||
|
||||
static client: LazyLock<Client> = LazyLock::new(|| {
|
||||
static CLIENT: LazyLock<Client> = LazyLock::new(|| {
|
||||
Client::builder()
|
||||
.timeout(Duration::from_secs(10))
|
||||
.connect_timeout(Duration::from_secs(5))
|
||||
@ -13,7 +13,7 @@ static client: LazyLock<Client> = LazyLock::new(|| {
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_healthcheck_returns_healthy() {
|
||||
let resp = client
|
||||
let resp = CLIENT
|
||||
.get("http://localhost:7001/healthcheck")
|
||||
.send()
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user