Skip to content

Commit

Permalink
acceptance-test: correct telemetry collector URL from grpc:// to http://
Browse files Browse the repository at this point in the history
  • Loading branch information
natemollica-nm committed Apr 5, 2024
1 parent 39eedb3 commit 93c210c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/consul/test/unit/telemetry-collector-deployment.bats
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,7 @@ MIICFjCCAZsCCQCdwLtdjbzlYzAKBggqhkjOPQQDAjB0MQswCQYDVQQGEwJDQTEL' \

local actual=$(echo "$object" |
yq -r '.[] | select(.name=="CO_OTEL_HTTP_ENDPOINT").value' | tee /dev/stderr)
[ "${actual}" = 'grpc://$(HOST_IP):4317' ]
[ "${actual}" = 'http://$(HOST_IP):4317' ]
}

@test "telemetryCollector/Deployment: DataDog OTLP Collector gRPC protocol verification, case-insensitive" {
Expand All @@ -1448,5 +1448,5 @@ MIICFjCCAZsCCQCdwLtdjbzlYzAKBggqhkjOPQQDAjB0MQswCQYDVQQGEwJDQTEL' \

local actual=$(echo "$object" |
yq -r '.[] | select(.name=="CO_OTEL_HTTP_ENDPOINT").value' | tee /dev/stderr)
[ "${actual}" = 'grpc://$(HOST_IP):4317' ]
[ "${actual}" = 'http://$(HOST_IP):4317' ]
}

0 comments on commit 93c210c

Please sign in to comment.