File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,11 @@ rm -rf "$working_dir"
4040mkdir -p " $working_dir "
4141cd " $working_dir "
4242
43+ export BETTER_EXCEPTIONS=1
44+
4345# Start ephemeral network in the background
44- network_live_time=120
45- timeout --signal=SIGINT --kill-after=${network_live_time} s --preserve-status ${network_live_time} s \
46- " $INSTALL_PREFIX " /bin/sandbox.sh --verbose &
46+ network_live_time=60
47+ " $INSTALL_PREFIX " /bin/sandbox.sh --auto-shutdown --auto-shutdown-delay-s ${network_live_time} --verbose &
4748
4849if poll_for_service_open ${network_live_time} ; then
4950 echo " Error: Timeout waiting for service to open"
@@ -69,9 +70,8 @@ python ../../../python/ledger_tutorial.py ./workspace/sandbox_0/0.ledger
6970# Recover network
7071cp -r ./workspace/sandbox_0/0.ledger .
7172
72- recovered_network_live_time=120
73- timeout --signal=SIGINT --kill-after=${recovered_network_live_time} s --preserve-status ${recovered_network_live_time} s \
74- " $INSTALL_PREFIX " /bin/sandbox.sh --verbose \
73+ recovered_network_live_time=10
74+ " $INSTALL_PREFIX " /bin/sandbox.sh --auto-shutdown --auto-shutdown-delay-s ${recovered_network_live_time} --verbose \
7575 --recover \
7676 --ledger-dir 0.ledger \
7777 --common-dir ./workspace/sandbox_common/
You can’t perform that action at this time.
0 commit comments