File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ if [ -z "$REPO_VERSION" ]; then
3434 echo -e " \n***\n*** Test Failed\n***"
3535 exit 1
3636fi
37- if [ ! -z " $TEST_REPO_ARCH " ] && [[ " $REPO_VERSION " == * " $TEST_REPO_ARCH " * ]] ; then
38- REPO_VERSION=${REPO_VERSION} _${TEST_REPO_ARCH}
37+ if [ ! -z " $TEST_REPO_ARCH " ]; then
38+ REPO_VERSION=" ${REPO_VERSION} _${TEST_REPO_ARCH} "
3939fi
4040
4141export ENSEMBLES=0
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Copyright (c) 2019-2020 , NVIDIA CORPORATION. All rights reserved.
2+ # Copyright 2019-2024 , NVIDIA CORPORATION & AFFILIATES . All rights reserved.
33#
44# Redistribution and use in source and binary forms, with or without
55# modification, are permitted provided that the following conditions
@@ -34,7 +34,7 @@ if [ -z "$REPO_VERSION" ]; then
3434 echo -e " \n***\n*** Test Failed\n***"
3535 exit 1
3636fi
37- if [ ! -z " $TEST_REPO_ARCH " ]; then
37+ if [[ -n " $TEST_REPO_ARCH " && " $REPO_VERSION " != * " _ ${TEST_REPO_ARCH} " ] ]; then
3838 REPO_VERSION=${REPO_VERSION} _${TEST_REPO_ARCH}
3939fi
4040
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ check_server_success_and_kill
286286# Test triton fails to initialize if it can't connect to redis cache
287287SERVER_ARGS=" --model-repository=${MODEL_DIR} --cache-config=redis,host=localhost --cache-config=redis,port=nonexistent ${EXTRA_ARGS} "
288288run_server
289- check_server_expected_failure " Failed to connect to Redis: Connection refused"
289+ check_server_expected_failure " failed to connect to Redis (localhost:0) : Connection refused"
290290
291291# Test triton fails to initialize if it can't resolve host for redis cache
292292SERVER_ARGS=" --model-repository=${MODEL_DIR} --cache-config=redis,host=nonexistent --cache-config=redis,port=nonexistent ${EXTRA_ARGS} "
388388fi
389389
390390exit $RET
391-
You can’t perform that action at this time.
0 commit comments