From e828c9ce63d90441c5d572d5943ac21e045eb6c8 Mon Sep 17 00:00:00 2001
From: "agbarneo@optaresolutions.com" <agbarneo@optaresolutions.com>
Date: Mon, 21 Oct 2024 10:50:35 +0000
Subject: [PATCH] Fixed wrong identation

---
 src/service/.gitlab-ci.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/service/.gitlab-ci.yml b/src/service/.gitlab-ci.yml
index 35897b5da..bae51e83d 100644
--- a/src/service/.gitlab-ci.yml
+++ b/src/service/.gitlab-ci.yml
@@ -167,7 +167,8 @@ unit_test service:
         fi
       done
     - MOCK_NODES_DIR="$PWD/src/tests/tools/mock_qkd_nodes"
-    - if [ -d "$MOCK_NODES_DIR" ]; then
+    - |
+      if [ -d "$MOCK_NODES_DIR" ]; then
         cd "$MOCK_NODES_DIR" || exit
         ./start.sh &
         MOCK_NODES_PID=$!
@@ -178,7 +179,8 @@ unit_test service:
     - echo "Waiting for mock nodes to be up..."
     - RETRY_COUNT=0
     - MAX_RETRIES=15
-    - while [ $RETRY_COUNT -lt $MAX_RETRIES ]; do
+    - |
+      while [ $RETRY_COUNT -lt $MAX_RETRIES ]; do
         if curl -s http://127.0.0.1:11111 > /dev/null && \
            curl -s http://127.0.0.1:22222 > /dev/null && \
            curl -s http://127.0.0.1:33333 > /dev/null; then
@@ -190,7 +192,8 @@ unit_test service:
             sleep 5
         fi
       done
-    - if [ $RETRY_COUNT -ge $MAX_RETRIES ]; then
+    - |
+      if [ $RETRY_COUNT -ge $MAX_RETRIES ]; then
         echo "Error: Mock nodes failed to start after multiple attempts."
         exit 1
       fi
-- 
GitLab