fix: tests broken by recent merge (#24852)

pull/24853/head
Trevor Hilton 2024-03-28 15:41:49 -04:00 committed by GitHub
parent 9f7940d56f
commit 8d49b5e776
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 2 deletions

View File

@ -126,7 +126,10 @@ async fn api_v1_write_round_trip() {
.expect("send /write request"); .expect("send /write request");
let resp = server let resp = server
.api_v3_query_influxql(&[("q", "SELECT * FROM foo.autogen.cpu"), ("format", "pretty")]) .api_v3_query_influxql(&[
("q", "SELECT time, host, usage FROM foo.autogen.cpu"),
("format", "pretty"),
])
.await .await
.text() .text()
.await .await
@ -249,7 +252,10 @@ async fn api_v2_write_round_trip() {
.expect("send /write request"); .expect("send /write request");
let resp = server let resp = server
.api_v3_query_influxql(&[("q", "SELECT * FROM foo.autogen.cpu"), ("format", "pretty")]) .api_v3_query_influxql(&[
("q", "SELECT time, host, usage FROM foo.autogen.cpu"),
("format", "pretty"),
])
.await .await
.text() .text()
.await .await