From 8dd33bf94d00973f4b2ff0cbdf66e43786b84d49 Mon Sep 17 00:00:00 2001
From: josh <josh@elixxir.io>
Date: Fri, 28 May 2021 10:38:49 -0700
Subject: [PATCH] add wait command

---
 basice2e/run.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/basice2e/run.sh b/basice2e/run.sh
index 4c846ea..b7792fe 100755
--- a/basice2e/run.sh
+++ b/basice2e/run.sh
@@ -422,6 +422,8 @@ CLIENTCMD="timeout 240s ../bin/client $CLIENTOPTS -l $CLIENTOUT/client42.log -s
 eval $CLIENTCMD >> $CLIENTOUT/client42.txt || true &
 PIDVAL2=$!
 echo "$CLIENTCMD -- $PIDVAL"
+wait $PIDVAL1
+wait $PIDVAL2
 
 if [ "$PERMISSIONING" == "" ]
 then
-- 
GitLab