From 89807d6ff3935f8001d438ebc248f74ae13a7443 Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Tue, 4 Oct 2022 07:42:03 +0000
Subject: [PATCH] L2SS-996: Fix recv_cluster test becoming unreliable

---
 sbin/run_integration_test.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sbin/run_integration_test.sh b/sbin/run_integration_test.sh
index 367d96f7f..57e4fff14 100755
--- a/sbin/run_integration_test.sh
+++ b/sbin/run_integration_test.sh
@@ -32,7 +32,8 @@ function integration_test {
     echo "make restart ${restarts[@]} ..."
     make restart "${restarts[@]}"
   fi
-  sleep 10
+  #TODO(L2SS-988): Use healthcheck to wait for containers to become ready
+  sleep 30
   echo "make integration ${1} ..."
   make integration "${1}"
 }
@@ -105,6 +106,7 @@ integration_test dummy
 make start elk
 
 # Give elk time to start
+# TODO(L2SS-988): Use a nicer more reliable mechanism
 sleep 10
 
 # Update the dsconfig
@@ -128,7 +130,7 @@ make start $DEVICES
 make start archiver-timescale
 
 # Give devices time to restart
-# TODO(Corne Lukken): Use a nicer more reliable mechanism
+# TODO(L2SS-988): Use a nicer more reliable mechanism
 sleep 70
 
 # Give archiver-timescale time to start
-- 
GitLab