Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hemantj committed Mar 22, 2022
1 parent 0892e3b commit f590384
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions qa/L0_s3_local/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -266,22 +266,7 @@ if [ "$SERVER_PID" == "0" ]; then
fi

set +e
for BACKEND in $BACKENDS1; do
code=`curl -s -w %{http_code} -X POST localhost:8000/v2/repository/models/${BACKEND}_float32_float32_float32/load`
if [ "$code" != "200" ]; then
echo -e "\n***\n*** Test Failed\n***"
RET=1
fi

$PERF_CLIENT -m ${BACKEND}_float32_float32_float32 -p 3000 -t 1 >$CLIENT_LOG 2>&1
if [ $? -ne 0 ]; then
echo -e "\n***\n*** Test Failed\n***"
cat $CLIENT_LOG
RET=1
fi
done

for BACKEND in $BACKENDS2; do
for BACKEND in $BACKENDS; do
code=`curl -s -w %{http_code} -X POST localhost:8000/v2/repository/models/${BACKEND}_float32_float32_float32/load`
if [ "$code" != "200" ]; then
echo -e "\n***\n*** Test Failed\n***"
Expand All @@ -295,7 +280,6 @@ for BACKEND in $BACKENDS2; do
RET=1
fi
done

set -e

kill $SERVER_PID
Expand Down

0 comments on commit f590384

Please sign in to comment.