Skip to content

Commit

Permalink
fix: test_prom_http_api label is wrong
Browse files Browse the repository at this point in the history
Signed-off-by: yihong0618 <[email protected]>
  • Loading branch information
yihong0618 committed Jan 3, 2025
1 parent 504265f commit f180df3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests-integration/tests/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,9 @@ pub async fn test_prom_http_api(store_type: StorageType) {
.is_some_and(|err| err.eq_ignore_ascii_case("Table not found: greptime.public.up")));

// label values
// fetch all values for label `instance`
// fetch all values for label `host`
let res = client
.get("/v1/prometheus/api/v1/label/instance/values")
.get("/v1/prometheus/api/v1/label/host/values")
.send()
.await;
assert_eq!(res.status(), StatusCode::OK);
Expand Down

0 comments on commit f180df3

Please sign in to comment.