Skip to content

Commit

Permalink
test(rust): fix curl command on telegraf-influx bats test
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianbenavides committed Apr 8, 2024
1 parent 3af5c9a commit 8a755f5
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ teardown() {

# Ensure that telegraf works without using Ockam route
run_success curl -s \
-Ier "Authorization: Token $INFLUX_TOKEN" \
-Ier "Accept: application/csv" \
-Ier 'Content-type: application/vnd.flux' \
--header "Authorization: Token $INFLUX_TOKEN" \
--header "Accept: application/csv" \
--header 'Content-type: application/vnd.flux' \
--data "from(bucket:\"$INFLUX_BUCKET\") |> range(start:-1m)" \
"http://localhost:$INFLUX_PORT/api/v2/query?org=$INFLUX_ORG"

Expand Down Expand Up @@ -124,9 +124,9 @@ teardown() {

# Ensure that telegraf works with using Ockam route
run_success curl -s \
-Ier "Authorization: Token $INFLUX_TOKEN" \
-Ier "Accept: application/csv" \
-Ier 'Content-type: application/vnd.flux' \
--header "Authorization: Token $INFLUX_TOKEN" \
--header "Accept: application/csv" \
--header 'Content-type: application/vnd.flux' \
--data "from(bucket:\"$INFLUX_BUCKET\") |> range(start:-1m)" \
"http://localhost:$INFLUX_PORT/api/v2/query?org=$INFLUX_ORG"
}

0 comments on commit 8a755f5

Please sign in to comment.