File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ function validate_service() {
7979
8080 local HTTP_STATUS=$( curl -s -o /dev/null -w " %{http_code}" -X POST -d " $INPUT_DATA " -H ' Content-Type: application/json' " $URL " )
8181
82- if [ " $DOCKER_NAME " == " text2cypher-gaudi-container" ]; then
82+ if [ " $DOCKER_NAME " = " text2cypher-gaudi-container" ]; then
8383 docker ps
8484 docker logs text2cypher-gaudi-container
8585 fi
@@ -94,7 +94,7 @@ function validate_service() {
9494 else
9595 echo " [ $SERVICE_NAME ] Content does not match the expected result: $CONTENT "
9696 docker logs ${DOCKER_NAME} >> ${LOG_PATH} /${SERVICE_NAME} .log
97- if [ " $DOCKER_NAME " == " hybridrag-xeon-backend-server" ]; then
97+ if [ " $DOCKER_NAME " = " hybridrag-xeon-backend-server" ]; then
9898 docker ps
9999 docker logs text2cypher-gaudi-container
100100 fi
@@ -103,7 +103,7 @@ function validate_service() {
103103 else
104104 echo " [ $SERVICE_NAME ] HTTP status is not 200. Received status was $HTTP_STATUS "
105105 docker logs ${DOCKER_NAME} >> ${LOG_PATH} /${SERVICE_NAME} .log
106- if [ " $DOCKER_NAME " == " hybridrag-xeon-backend-server" ]; then
106+ if [ " $DOCKER_NAME " = " hybridrag-xeon-backend-server" ]; then
107107 docker ps
108108 docker logs text2cypher-gaudi-container
109109 fi
You can’t perform that action at this time.
0 commit comments