Skip to content

Commit 498858c

Browse files
committed
fix for E2E tests
Signed-off-by: Tsai, Louie <louie.tsai@intel.com>
1 parent 77d7adf commit 498858c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ChatQnA/tests/test_compose_on_gaudi.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ function start_services() {
4848
export INDEX_NAME="rag-redis"
4949
export HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
5050
export host_ip=${ip_address}
51+
export JAEGER_IP=$(ip route get 8.8.8.8 | grep -oP 'src \K[^ ]+')
52+
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=grpc://$JAEGER_IP:4317
53+
export TELEMETRY_ENDPOINT=http://$JAEGER_IP:4318/v1/traces
5154

5255
# Start Docker Containers
5356
docker compose -f compose.yaml up -d > ${LOG_PATH}/start_services_with_compose.log

ChatQnA/tests/test_compose_tgi_on_xeon.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ function start_services() {
4848
export LLM_MODEL_ID="meta-llama/Meta-Llama-3-8B-Instruct"
4949
export INDEX_NAME="rag-redis"
5050
export HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
51+
export JAEGER_IP=$(ip route get 8.8.8.8 | grep -oP 'src \K[^ ]+')
52+
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=grpc://$JAEGER_IP:4317
53+
export TELEMETRY_ENDPOINT=http://$JAEGER_IP:4318/v1/traces
5154

5255
# Start Docker Containers
5356
docker compose -f compose_tgi.yaml up -d > ${LOG_PATH}/start_services_with_compose.log

0 commit comments

Comments
 (0)