Skip to content

Commit 5a9d800

Browse files
committed
Fix
Signed-off-by: ZePan110 <[email protected]>
1 parent 798ccf8 commit 5a9d800

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DBQnA/tests/test_compose_on_rocm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function validate_microservice() {
4646
-d '{"input_text": "Find the total number of Albums.","conn_str": {"user": "'${POSTGRES_USER}'","password": "'${POSTGRES_PASSWORD}'","host": "'${ip_address}'", "port": "5442", "database": "'${POSTGRES_DB}'" }}' \
4747
-H 'Content-Type: application/json')
4848

49-
if echo "$response" | jq -e '.result.output' > /dev/null 2>&1; then
49+
if echo "$result" | jq -e '.result.output' > /dev/null 2>&1; then
5050
# if [[ $result == *"output"* ]]; then
5151
echo $result
5252
echo "Result correct."

DBQnA/tests/test_compose_on_xeon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function validate_microservice() {
5353
-d '{"input_text": "Find the total number of Albums.","conn_str": {"user": "'${POSTGRES_USER}'","password": "'${POSTGRES_PASSWORD}'","host": "'${ip_address}'", "port": "5442", "database": "'${POSTGRES_DB}'" }}' \
5454
-H 'Content-Type: application/json')
5555

56-
if echo "$response" | jq -e '.result.output' > /dev/null 2>&1; then
56+
if echo "$result" | jq -e '.result.output' > /dev/null 2>&1; then
5757
# if [[ $result == *"output"* ]]; then
5858
echo $result
5959
echo "Result correct."

0 commit comments

Comments
 (0)