From 736457b562f0f4aabe775d8f79ec58e50a576647 Mon Sep 17 00:00:00 2001 From: Akihito Nakano Date: Mon, 31 Jan 2022 22:55:04 +0000 Subject: [PATCH] Run setup.sh foreground in order to avoid timing issues (#2970) ## Issue Addressed Resolves https://github.com/sigp/lighthouse/pull/2919#issuecomment-1022892369 ## Proposed Changes - Run setup.sh foreground in order to avoid timing issues --- scripts/local_testnet/start_local_testnet.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/local_testnet/start_local_testnet.sh b/scripts/local_testnet/start_local_testnet.sh index 7126e4c5d..69d55660f 100755 --- a/scripts/local_testnet/start_local_testnet.sh +++ b/scripts/local_testnet/start_local_testnet.sh @@ -93,9 +93,9 @@ execute_command_add_PID() { execute_command_add_PID ganache_test_node.log ./ganache_test_node.sh sleeping 10 -# Delay to get data setup -execute_command setup.log ./setup.sh -sleeping 15 +# Setup data +echo "executing: ./setup.sh >> $LOG_DIR/setup.log" +./setup.sh >> $LOG_DIR/setup.log 2>&1 # Delay to let boot_enr.yaml to be created execute_command_add_PID bootnode.log ./bootnode.sh