Skip to content

Commit daf0cb3

Browse files
committed
complete rebase
1 parent 69f9005 commit daf0cb3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

qa/L0_vertex_ai/test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ fi
914914

915915
set +e
916916

917-
# Small payload under 256 bytes should succeed
917+
# Small payload under 128 bytes should succeed
918918
rm -f ./curl.out
919919
code=`curl -s -w %{http_code} -o ./curl.out -X POST -H "Content-Type: application/json" -d'{"inputs":[{"name":"INPUT0","datatype":"FP32","shape":[1,1],"data":[1.0]}],"outputs":[{"name":"OUTPUT0"}]}' localhost:8080/predict`
920920
if [ "$code" != "200" ]; then
@@ -923,7 +923,7 @@ if [ "$code" != "200" ]; then
923923
RET=1
924924
fi
925925

926-
# Large payload over 256 bytes should be rejected
926+
# Large payload over 128 bytes should be rejected
927927
rm -f ./curl.out
928928
LARGE_PAYLOAD='{"inputs":[{"name":"INPUT0","datatype":"FP32","shape":[1,16],"data":[1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0,11.0,12.0,13.0,14.0,15.0,16.0]}],"outputs":[{"name":"OUTPUT0"}]}'
929929
code=`curl -s -w %{http_code} -o ./curl.out -X POST -H "Content-Type: application/json" -d"$LARGE_PAYLOAD" localhost:8080/predict`
@@ -936,7 +936,7 @@ fi
936936
set -e
937937

938938
kill $SERVER_PID
939-
wait $SERVE_PID
939+
wait $SERVER_PID
940940

941941
if [ $RET -eq 0 ]; then
942942
echo -e "\n***\n*** Test Passed\n***"

0 commit comments

Comments
 (0)