Skip to content

Commit

Permalink
fix: exit on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko Atanasievski committed Dec 12, 2023
1 parent b490a62 commit ee121bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/network.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

start_network () {
echo "Starting local infra network..."
Expand Down Expand Up @@ -63,4 +64,3 @@ elif [ $1 = 'is_running' ]; then
else
echo "Invalid argument"
exit 1
fi
2 changes: 2 additions & 0 deletions tests/test_cert_production.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
set -e


function get_last_block () {
local last_block=`docker compose logs $1 | grep -e 'polygon.blockchain' | grep -e 'new block' | \
Expand Down

0 comments on commit ee121bd

Please sign in to comment.