From 398a62ff70fd3fb8c025e4b265141afe02210105 Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Tue, 1 Feb 2022 12:58:00 +0000
Subject: [PATCH] L2SS-588: Prevent running integration tests twice

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

diff --git a/sbin/run_integration_test.sh b/sbin/run_integration_test.sh
index 05e076ed0..d2dbf03ec 100755
--- a/sbin/run_integration_test.sh
+++ b/sbin/run_integration_test.sh
@@ -29,6 +29,7 @@ sleep 60
 # Do not remove `bash`, otherwise statement ignored by gitlab ci shell!
 bash "${LOFAR20_DIR}"/sbin/update_ConfigDb.sh "${LOFAR20_DIR}"/CDB/LOFAR_ConfigDb.json
 bash "${LOFAR20_DIR}"/sbin/update_ConfigDb.sh "${LOFAR20_DIR}"/CDB/stations/simulators_ConfigDb.json
+#bash "${LOFAR20_DIR}"/sbin/update_ConfigDb.sh "${LOFAR20_DIR}"/CDB/integration_ConfigDb.json
 
 cd "$LOFAR20_DIR/docker-compose" || exit 1
 make start sdptr-sim recv-sim unb2-sim apsct-sim apspu-sim
@@ -44,10 +45,7 @@ sleep 60
 
 # Start the integration test
 cd "$LOFAR20_DIR/docker-compose" || exit 1
-make start integration-test
-
-# Give devices time to restart
-sleep 60
+make up integration-test
 
 # Run the integration test with the output displayed on stdout
 docker start -a "${CONTAINER_NAME_PREFIX}"integration-test
-- 
GitLab