Skip to content

Commit

Permalink
print exit code.
Browse files Browse the repository at this point in the history
Signed-off-by: theresa <[email protected]>
  • Loading branch information
ichbinblau committed Nov 13, 2024
1 parent 64aad79 commit ae74de2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GraphRAG/tests/test_compose_on_gaudi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function validate_service() {
cd $LOG_PATH
HTTP_RESPONSE=$(curl --silent --write-out "HTTPSTATUS:%{http_code}" -X POST -F 'files=@./dataprep_file.txt' -H 'Content-Type: multipart/form-data' "$URL")
elif [[ $SERVICE_NAME == *"neo4j-apoc"* ]]; then
curl --write-out "HTTPSTATUS:%{http_code}" "$URL"
HTTP_RESPONSE=$(curl --silent --write-out "HTTPSTATUS:%{http_code}" "$URL")
else
HTTP_RESPONSE=$(curl --silent --write-out "HTTPSTATUS:%{http_code}" -X POST -d "$INPUT_DATA" -H 'Content-Type: application/json' "$URL")
Expand Down

0 comments on commit ae74de2

Please sign in to comment.