Skip to content

Commit a5b24d0

Browse files
authored
test: Follow up PR for L0_dyna_implicit_state. Fix error message for L0_response_cache test (#7803)
1 parent fd2cdef commit a5b24d0

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

qa/L0_dyna_implicit_state/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ if [ -z "$REPO_VERSION" ]; then
3434
echo -e "\n***\n*** Test Failed\n***"
3535
exit 1
3636
fi
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}"
3939
fi
4040

4141
export ENSEMBLES=0

qa/L0_dyna_sequence_batcher/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
3636
fi
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}
3939
fi
4040

qa/L0_response_cache/test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
287287
SERVER_ARGS="--model-repository=${MODEL_DIR} --cache-config=redis,host=localhost --cache-config=redis,port=nonexistent ${EXTRA_ARGS}"
288288
run_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
292292
SERVER_ARGS="--model-repository=${MODEL_DIR} --cache-config=redis,host=nonexistent --cache-config=redis,port=nonexistent ${EXTRA_ARGS}"
@@ -388,4 +388,3 @@ else
388388
fi
389389

390390
exit $RET
391-

0 commit comments

Comments
 (0)